diff options
author | Christian Schneider | 2007-10-10 14:07:36 +0000 |
---|---|---|
committer | Christian Schneider | 2007-10-10 14:07:36 +0000 |
commit | 36f38cf5e746005544ef8b327692f14d3905b488 (patch) | |
tree | 4a45fbb70dafdfb0772ef45c9a5f28b05d014d35 /it.class | |
parent | abd5beaa7b63bbfa1f64e278b0bc1de72ec76c4f (diff) | |
download | itools-36f38cf5e746005544ef8b327692f14d3905b488.tar.gz itools-36f38cf5e746005544ef8b327692f14d3905b488.tar.bz2 itools-36f38cf5e746005544ef8b327692f14d3905b488.zip |
Show file:line if backtrace is empty (happens when stack dump too large)
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -211,7 +211,7 @@ function error($p = array(), $body = null, $to = null) # $body and $to deprecate echo "<pre>{$p['title']}\n$body</pre>"; } - error_log("it::error: " . $p['title'] . " in " . ($trace ? $trace : $p['line']) . " Url: $url " . (EDC('verbose') ? D($p['locals']) : "")); + error_log("it::error: " . $p['title'] . " in " . ($trace ? $trace : "{$p['file']}:{$p['line']}") . " Url: $url " . (EDC('verbose') ? D($p['locals']) : "")); } |