mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-09 03:01:18 +02:00
Merge pull request #2665 from dhensby/patch-1
Making ConfigStaticManifest::parseStatic error more meaningful
This commit is contained in:
commit
802b64db20
@ -282,7 +282,7 @@ class SS_ConfigStaticManifest_Parser {
|
||||
// NOP
|
||||
}
|
||||
else {
|
||||
user_error('Unexpected token when building static manifest: '.print_r($token, true), E_USER_ERROR);
|
||||
user_error('Unexpected token ("' . token_name($type) . '") when building static manifest in class "' . $class . '": '.print_r($token, true), E_USER_ERROR);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user