summaryrefslogtreecommitdiff
path: root/vendor/fguillot/picodb/lib/PicoDb/StatementHandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picodb/lib/PicoDb/StatementHandler.php')
-rw-r--r--vendor/fguillot/picodb/lib/PicoDb/StatementHandler.php2
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());
}
}