diff --git a/Source/API/script/Config/ConnectClass.php b/Source/API/script/Config/ConnectClass.php index a753ae8..6fff745 100644 --- a/Source/API/script/Config/ConnectClass.php +++ b/Source/API/script/Config/ConnectClass.php @@ -25,7 +25,8 @@ class ConnectClass{ $connection = new Connection($this->dsn,$this->login,$this->password); sleep(3); echo "\nOKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK\n"; - }catch (PDOException){ + }catch (PDOException $e){ + echo $e->getMessage()." ET ".$e->getTraceAsString(); throw new PDOException(); } return $connection;