Skip to content
Permalink
Browse files

Yet another error reporting improvement (init queries)

  • Loading branch information...
Vojtech Pithart authored and LarsMichelsen committed Jun 12, 2019
1 parent 8be537e commit dc9478ae6f51597ffebe752cc638f37a589f3c7b
Showing with 2 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 share/server/core/classes/CorePDOHandler.php
@@ -11,6 +11,7 @@ launch.json
# Exclude actual config files
etc/auth.db
etc/perms.db
etc/worldmap.db

# Exclude main configuration file
etc/nagvis.ini.php
@@ -287,6 +287,7 @@ public function open($driver, $params, $username, $password) {
$res = $this->DB->exec($q);
if($res === false) {
$this->DB = null;
$this->lastErrorInfo = "Initial DB query ($q) failed";
return false;
}
}

0 comments on commit dc9478a

Please sign in to comment.
You can’t perform that action at this time.