Merge "Made runJobs.php fully respect $wgJobBackoffThrottling"
[lhc/web/wiklou.git] / maintenance / runJobs.php
index 0926f41..dc9c763 100644 (file)
@@ -107,6 +107,7 @@ class RunJobs extends Maintenance {
                                        $status = $job->run();
                                        $error = $job->getLastError();
                                } catch ( MWException $e ) {
+                                       MWExceptionHandler::rollbackMasterChangesAndLog( $e );
                                        $status = false;
                                        $error = get_class( $e ) . ': ' . $e->getMessage();
                                        $e->report(); // write error to STDERR and the log