projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
be09cfe
)
try adding error tracking to exceptions
author
Alan
<alan@roojs.com>
Wed, 4 Oct 2023 02:18:06 +0000
(10:18 +0800)
committer
Alan
<alan@roojs.com>
Wed, 4 Oct 2023 02:18:06 +0000
(10:18 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
5aed24b
..
d4ceec3
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-1101,6
+1101,11
@@
class Pman extends HTML_FlexyFramework_Page
//convert the huge backtrace into something that is readable..
$out .= "\n" . implode("\n", $ret);
+
+ $de = ini_set('display_errors', 0);
+ trigger_error($out , E_USER_NOTICE); // note this should enable backtracing the real erorr?
+ ini_set('display_errors', $de );
+
$this->addEvent("EXCEPTION", false, $out);
if ($this->showErrorToUser) {