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 aee905c commit 0791bdfCopy full SHA for 0791bdf
src/DB/DriverPDO.php
@@ -40,7 +40,7 @@ public function __construct(?string $database = null, string $table_prefix = '')
40
$this->preConnectionExec();
41
} catch (\PDOException $e) {
42
$this->debug->debug_error("[{$this->database}] Connection ERROR: [CODE: " . ($e->errorInfo[1] ?? 'NULL') . " | MESSAGE: " . ($e->errorInfo[2] ?? 'NULL') . " ]");
43
- throw new DBException('PDO Connection ERROR');
+ throw new DBException("PDO Connection ERROR: [CODE: " . ($e->errorInfo[1] ?? 'NULL') . "]");
44
}
45
46
private function generateDSN(): void
0 commit comments