Always display SQL errors

This commit is contained in:
Frédéric Guillot
2018-03-05 15:55:49 -08:00
parent 95ac11a6aa
commit 9c9e079bcd
7 changed files with 31 additions and 25 deletions

View File

@@ -348,6 +348,6 @@ class StatementHandler
return false;
}
throw new SQLException('SQL error'.($this->logQueries ? ': '.$e->getMessage() : ''));
throw new SQLException('SQL Error: '.$e->getMessage());
}
}