try adding error tracking to exceptions
authorAlan <alan@roojs.com>
Wed, 4 Oct 2023 02:18:06 +0000 (10:18 +0800)
committerAlan <alan@roojs.com>
Wed, 4 Oct 2023 02:18:06 +0000 (10:18 +0800)
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) {