diff options
Diffstat (limited to 'engine/lib/database.php')
-rw-r--r-- | engine/lib/database.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/database.php b/engine/lib/database.php index 96dac3846..bffc2fc86 100644 --- a/engine/lib/database.php +++ b/engine/lib/database.php @@ -111,9 +111,7 @@ function db_delayedexecution_shutdown_hook() { $query_details['h']($result); } } catch (Exception $e) { // Suppress all errors since these can't be delt with here - if (isset($CONFIG->debug)) { - error_log($e); - } + elgg_log($e, 'WARNING'); } } } |