From 4ad3126cebc694edfc6b91a2647f45e868a1cdcc Mon Sep 17 00:00:00 2001 From: Banana Date: Fri, 1 Jan 2021 16:10:56 +0100 Subject: [PATCH] mysql try catch tentacle --- webclient/lib/tentacle.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webclient/lib/tentacle.class.php b/webclient/lib/tentacle.class.php index d5168b1..cbe4bfe 100644 --- a/webclient/lib/tentacle.class.php +++ b/webclient/lib/tentacle.class.php @@ -66,7 +66,7 @@ class Tentacle { } } catch (Exception $e) { - if(DEBUG) error_log("[DEBUG] ".__METHOD__." mysql catch: ".$e->getMessage()); + error_log("[ERROR] ".__METHOD__." mysql catch: ".$e->getMessage()); if(DEBUG) error_log("[DEBUG] ".__METHOD__." mysql query: ".$queryStr); } -- 2.39.5