jenkins-bot has submitted this change and it was merged.

Change subject: Do not log expected Flow exceptions
......................................................................


Do not log expected Flow exceptions

Bug: 61797
Change-Id: I990057accacc351e7b2773e4dc907bc69b2be884
---
M includes/Formatter/Contributions.php
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  EBernhardson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/Formatter/Contributions.php 
b/includes/Formatter/Contributions.php
index c8b3910..45bece5 100644
--- a/includes/Formatter/Contributions.php
+++ b/includes/Formatter/Contributions.php
@@ -16,7 +16,9 @@
                try {
                        return $this->formatReal( $pager, $row );
                } catch ( FlowException $e ) {
-                       \MWExceptionHandler::logException( $e );
+                       // Comment out for now since we expect some flow 
exceptions, when gerrit 111952 is
+                       // merged, then we will turn this back on so we can 
catch unexpected exceptions.
+                       //\MWExceptionHandler::logException( $e );
                        return false;
                }
        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I990057accacc351e7b2773e4dc907bc69b2be884
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Bsitu <bs...@wikimedia.org>
Gerrit-Reviewer: EBernhardson <ebernhard...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to