From 8c6fca60f2b1fa6fa3408e92a22da0f1be536f49 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 28 Apr 2014 10:53:16 -0700 Subject: [PATCH] Made DB errors go to the exception log again * Some DB errors are caught while others bubble up to users. It is useful to log the latter separately and it also provides more context. The exception logs have a backtrace where as the regular DB logs do not. Change-Id: I7ef7693d96e0258119f714e678099e4813ca0c94 --- includes/db/DatabaseError.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/includes/db/DatabaseError.php b/includes/db/DatabaseError.php index 3bcf638e8b..4d5c3dc5e1 100644 --- a/includes/db/DatabaseError.php +++ b/includes/db/DatabaseError.php @@ -347,14 +347,6 @@ class DBQueryError extends DBExpectedError { $this->fname = $fname; } - /** - * @return bool - */ - function isLoggable() { - // Don't send to the exception log, already in dberror log - return false; - } - /** * @return string */ -- 2.20.1