Remove pointless double exception logging from JobRunner
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 13 Sep 2016 03:31:05 +0000 (20:31 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 13 Sep 2016 04:38:36 +0000 (04:38 +0000)
Change-Id: I12a2e6db326af25a3a276a477fbff505feac87b6

includes/jobqueue/JobRunner.php

index 022abd9..ed3aa9a 100644 (file)
@@ -280,7 +280,6 @@ class JobRunner implements LoggerAwareInterface {
                        MWExceptionHandler::rollbackMasterChangesAndLog( $e );
                        $status = false;
                        $error = get_class( $e ) . ': ' . $e->getMessage();
-                       MWExceptionHandler::logException( $e );
                }
                // Always attempt to call teardown() even if Job throws exception.
                try {