projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7c4aca
)
Pman.php
author
Alan Knowles
<alan@roojs.com>
Wed, 15 Aug 2018 03:05:44 +0000
(11:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 15 Aug 2018 03:05:44 +0000
(11:05 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
a10831b
..
648c958
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-998,6
+998,9
@@
class Pman extends HTML_FlexyFramework_Page
$ret = array();
$n = 0;
$bt = is_a($ex,'Exception')|| is_a($ex, 'Error') ? $ex->getTrace() : $ex->backtrace;
+ if (is_a($ex,'Exception')|| is_a($ex, 'Error') ) {
+ $ret[] = $ex->getFile() . '('. $ex->getLine() . ')';
+ }
foreach( $bt as $b) {
$ret[] = @$b['file'] . '(' . @$b['line'] . ')@' . @$b['class'] . '::' . @$b['function'];
if ($n > 20) {