Merge "Replace unecessary rollbackMasterChangesAndLog() call in doPostOutputShutdown()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 31 Aug 2019 17:49:55 +0000 (17:49 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 31 Aug 2019 17:49:55 +0000 (17:49 +0000)
includes/MediaWiki.php

index 7a6987e..f91477a 100644 (file)
@@ -745,7 +745,7 @@ class MediaWiki {
                        Profiler::instance()->logDataPageOutputOnly();
                } catch ( Exception $e ) {
                        // An error may already have been shown in run(), so just log it to be safe
-                       MWExceptionHandler::rollbackMasterChangesAndLog( $e );
+                       MWExceptionHandler::logException( $e );
                }
 
                // Disable WebResponse setters for post-send processing (T191537).