We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d87c963 commit e2fec3cCopy full SHA for e2fec3c
src/Ubiquity/orm/reverse/DatabaseChecker.php
@@ -14,7 +14,7 @@
14
* This class is part of Ubiquity
15
*
16
* @author jcheron <[email protected]>
17
- * @version 1.0.0
+ * @version 1.0.1
18
* @package Ubiquity.dev
19
20
*/
@@ -46,7 +46,7 @@ public function checkDatabase(): bool {
46
try {
47
$this->db = DAO::getDatabase($this->dbOffset);
48
return $this->databaseExist = isset($this->db) && $this->db->isConnected();
49
- } catch (\Error $e) {
+ } catch (\Exception | \Error $e) {
50
return $this->databaseExist = false;
51
}
52
0 commit comments