Print callstack
--HG-- branch : develop
This commit is contained in:
parent
91ad193104
commit
70ace8b7d4
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