mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 19:10:52 +00:00
Print callstack
This commit is contained in:
parent
a7fe1c3f7f
commit
1b4b07cf44
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@
|
|||
{
|
||||
$logFile = new CWwwLog();
|
||||
$logFile->logStr("PHP ERROR/$errno $errmsg ($filename:$linenum)");
|
||||
$logFile->logStr("PHP CALLSTACK/" . print_r(debug_backtrace(), TRUE));
|
||||
// Never die after an error
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue