rimedio: messaggio di errore

This commit is contained in:
Johannes Kantz 2022-12-21 10:15:35 +01:00
parent a37a681a33
commit 2c0f17fd30

View File

@ -19,7 +19,6 @@ class BancaDati {
, $this->pw , $this->pw
, array(\PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION)); , array(\PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION));
} catch (\PDOException $e) { } catch (\PDOException $e) {
new ErrorMsg("Verbindung konnte nicht aufgebaut werden.", $e);
die; die;
} }
} }