mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Print callstack
This commit is contained in:
parent
aee9f17acb
commit
80105b365c
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