]> git.mxchange.org Git - friendica.git/commitdiff
fix loglevel
authorPhilipp Holzer <admin@philipp.info>
Sat, 13 Apr 2019 19:03:07 +0000 (21:03 +0200)
committerPhilipp Holzer <admin@philipp.info>
Sat, 13 Apr 2019 19:03:07 +0000 (21:03 +0200)
src/Database/DBA.php

index d95548067f4b1adaff11aa8c09108cd8101226ed..c5ba523810e59f9523b7cedf9c554a7c106eb516 100644 (file)
@@ -692,7 +692,7 @@ class DBA
                        // On a lost connection we simply quit.
                        // A reconnect like in self::p could be dangerous with modifications
                        if ($errorno == 2006) {
-                               self::$logger->error('Giving up because of database error', [
+                               self::$logger->notice('Giving up because of database error', [
                                        'code'  => self::$errorno,
                                        'error' => self::$error,
                                ]);