]> 91.132.146.200 Git - bibliotheca-php.git/commitdiff
mysql try catch tentacle
authorBanana <mail@bananas-playground.net>
Fri, 1 Jan 2021 15:10:56 +0000 (16:10 +0100)
committerBanana <mail@bananas-playground.net>
Fri, 1 Jan 2021 15:10:56 +0000 (16:10 +0100)
webclient/lib/tentacle.class.php

index d5168b14ffbb2d48b9788f94ad3067b2c85979c3..cbe4bfee7f1eb4283dc731017da36e3722ff1ca1 100644 (file)
@@ -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);
                }