-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
databaseIssues or pull requests that affect the database layerIssues or pull requests that affect the database layerdev
Description
SQLite3, Postgres and OCI8 drivers throw ErrorException when a query error occurs
because of Error Handler. See #6912
CodeIgniter4/system/Debug/Exceptions.php
Lines 174 to 176 in ac1422c
if (error_reporting() & $severity) { | |
throw new ErrorException($message, 0, $severity, $file, $line); | |
} |
So depending on the value of the error reporting setting, the ErrorException may not be thrown.
See #6886 (comment)
- SQLite3 fix: SQLite3 may not throw DatabaseException #8467
- Postgres
- OCI8
Metadata
Metadata
Assignees
Labels
databaseIssues or pull requests that affect the database layerIssues or pull requests that affect the database layerdev