openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit e68bbb9bc0cd69f41749f52cf052ba3c7934ff62
parent 07c4c6214468640203cec39a1929e83c5d0ce825
Author: Jan Dankert <devnull@localhost>
Date:   Tue, 25 Sep 2018 00:18:51 +0200

DB-Benutzernamen ins Log schreiben, wenn ein Fehler passiert.

Diffstat:
modules/database/driver/PDODriver.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/database/driver/PDODriver.class.php b/modules/database/driver/PDODriver.class.php @@ -98,7 +98,7 @@ class PDODriver } catch(\PDOException $e) { - Logger::warn( "Could not connect to database: ".$e->getMessage() ); + Logger::warn( "Could not connect to database with dsn=$url and user=$user: ".$e->getMessage() ); throw new \RuntimeException("Could not connect to database on host $url.",0,$e); }