From 60f67b99bf2c5703468dfa357af850e014822238 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 17 Feb 2023 23:45:05 +0100 Subject: [PATCH] Improve DEBUG --- include/lib/database_core.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/lib/database_core.class.php b/include/lib/database_core.class.php index 11b89ccb0..01bfae6b2 100644 --- a/include/lib/database_core.class.php +++ b/include/lib/database_core.class.php @@ -204,7 +204,9 @@ class DatabaseCore echo $a->getTraceAsString(); echo pg_last_error($this->db); } - record_log($a->getTraceAsString()); + record_log($a); + record_log($p_string); + record_log($p_array); $this->rollback(); throw ($a);