Try to make API work again 5
continuous-integration/drone/push Build is passing Details

master
dorian.hodin 2 years ago
parent 456dd75d92
commit a7cb39902c

@ -21,7 +21,7 @@ class ConnectClass{
function connect(): int|Connection function connect(): int|Connection
{ {
try { try {
echo ""; sleep(1);
$connection = new Connection($this->dsn,$this->login,$this->password); $connection = new Connection($this->dsn,$this->login,$this->password);
}catch (PDOException $e){ }catch (PDOException $e){
throw new PDOException($e->getMessage(), $e->getCode(), $e); throw new PDOException($e->getMessage(), $e->getCode(), $e);

Loading…
Cancel
Save