Parcourir la source

add dsnParams to exception log (#2559)

Robert Kaussow il y a 6 ans
Parent
commit
1b15e22897
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lib/Minz/ModelPdo.php

+ 1 - 1
lib/Minz/ModelPdo.php

@@ -89,7 +89,7 @@ class Minz_ModelPdo {
 			self::$sharedPdo = $this->pdo;
 		} catch (Exception $e) {
 			throw new Minz_PDOConnectionException(
-				$dsn,
+				$dsn . $dsnParams,
 				$db['user'], Minz_Exception::ERROR
 			);
 		}