contao/test — Issue #1483: More information when printing out error messages
Author: importer
Created: 2011-11-29 07:59:50+00:00
State: open
Labels: Feature, framework

While I was developing a new module I was not really happy with the information provided by the error message.

It would be really helpful if the line 67 of the file /system/functions.php would be extended like this:

`debug_print_backtrace();
trigger_error(sprintf('Could not load class %s', $strClassName), E_USER_ERROR);`

The traceback helps a lot, especially in my case when I had something wrong in my module config file.

Here is more information about this command, if needed: http://www.php.net/manual/en/function.debug-print-backtrace.php

--- _Originally created by modir on February 1st, 2010, at 03:15am (ID 1483)_