diff --git a/core/manifest/ConfigStaticManifest.php b/core/manifest/ConfigStaticManifest.php index 62185bad3..7583dae42 100644 --- a/core/manifest/ConfigStaticManifest.php +++ b/core/manifest/ConfigStaticManifest.php @@ -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); } }