From d0b13dbd52a8bd6734d52ef99ceb92fe104af418 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 15 Jan 2025 16:41:57 +0100 Subject: [PATCH] Use record_log the full exception --- html/do.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/html/do.php b/html/do.php index cfbedb552..afe5b8fd8 100644 --- a/html/do.php +++ b/html/do.php @@ -173,8 +173,10 @@ window.onload=function () { create_anchor_up(); init_scroll(); + sorttable.init } + getMessage()); - record_log($e->getTraceAsString()); + record_log($e); throw $e; } } @@ -319,8 +321,7 @@ else { echo $exc->getMessage(); record_log("No user profile "); - record_log($exc->getMessage()); - record_log($exc->getTraceAsString()); + record_log($exc); throw $exc; }