Mattflaschen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/259182

Change subject: Make InvalidInputException loggable
......................................................................

Make InvalidInputException loggable

Change-Id: Iadd55bcdead08190c9d78aba36dffe56337279fd
---
M includes/Exception/ExceptionHandling.php
1 file changed, 0 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/82/259182/1

diff --git a/includes/Exception/ExceptionHandling.php 
b/includes/Exception/ExceptionHandling.php
index 20be8ac..a5b72e8 100644
--- a/includes/Exception/ExceptionHandling.php
+++ b/includes/Exception/ExceptionHandling.php
@@ -154,13 +154,6 @@
        public function getStatusCode() {
                return 400;
        }
-
-       /**
-        * Do not log exception resulting from input error
-        */
-       function isLoggable() {
-               return false;
-       }
 }
 
 class InvalidReferenceException extends InvalidInputException {

-- 
To view, visit https://gerrit.wikimedia.org/r/259182
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iadd55bcdead08190c9d78aba36dffe56337279fd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to