From 225ab41209e2a79eef83cb29967c95b3398d1685 Mon Sep 17 00:00:00 2001 From: Alan Date: Wed, 4 Oct 2023 10:18:06 +0800 Subject: [PATCH] try adding error tracking to exceptions --- Pman.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Pman.php b/Pman.php index 5aed24b..d4ceec3 100644 --- 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) { -- 2.39.2