From: Banana Date: Fri, 1 Jan 2021 15:10:56 +0000 (+0100) Subject: mysql try catch tentacle X-Git-Tag: 1.0~31 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=4ad3126cebc694edfc6b91a2647f45e868a1cdcc;p=bibliotheca-php.git mysql try catch tentacle --- 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); }