mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 01:06:19 +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 = new CWwwLog();
|
||||||
$logFile->logStr("PHP ERROR/$errno $errmsg ($filename:$linenum)");
|
$logFile->logStr("PHP ERROR/$errno $errmsg ($filename:$linenum)");
|
||||||
|
$logFile->logStr("PHP CALLSTACK/" . print_r(debug_backtrace(), TRUE));
|
||||||
// Never die after an error
|
// Never die after an error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue