silverstripe/silverstripe-framework — pull request #2470 by sunnysideup (2013-10-01 02:02:35+00:00)
Title: more meaningful error message in ConfigStaticManifest.php (depth < 0)

Changed error from: Fatal error: Hmm - depth calc wrong, hit negatives in /var/www/mysite.maori.nz/framework/core/manifest/ConfigStaticManifest.php on line 242

... to ....

Fatal error: Hmm - depth calc wrong, hit negatives, see: /var/www/mysite.maori.nz/mymodule/code/MyClass.php in /var/www/mysite.maori.nz/framework/core/manifest/ConfigStaticManifest.php on line 240

The first error is completely meaningless and impossible to debug...