diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-03-05 15:55:49 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-03-05 15:55:49 -0800 |
commit | 9c9e079bcdddcedcc706834eb6e80a1aa4befdc6 (patch) | |
tree | d6849c87e080bf7269ef7af4130223444d253b52 /vendor/fguillot/picodb/lib | |
parent | 95ac11a6aad8238a8349d8bda421739307987cae (diff) |
Always display SQL errors
Diffstat (limited to 'vendor/fguillot/picodb/lib')
-rw-r--r-- | vendor/fguillot/picodb/lib/PicoDb/StatementHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/fguillot/picodb/lib/PicoDb/StatementHandler.php b/vendor/fguillot/picodb/lib/PicoDb/StatementHandler.php index a7021b36..d0cdaa49 100644 --- a/vendor/fguillot/picodb/lib/PicoDb/StatementHandler.php +++ b/vendor/fguillot/picodb/lib/PicoDb/StatementHandler.php @@ -348,6 +348,6 @@ class StatementHandler return false; } - throw new SQLException('SQL error'.($this->logQueries ? ': '.$e->getMessage() : '')); + throw new SQLException('SQL Error: '.$e->getMessage()); } } |