From 294e591a3c0eb8f7a6a16ebe624b2a3b6e384ab2 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 16 May 2013 13:51:36 -0700 Subject: [PATCH] Make sure job runner exceptions get logged. Change-Id: Ie468e7009c45a2b637df38309fd7b8368e021b6d --- maintenance/runJobs.php | 1 + 1 file changed, 1 insertion(+) diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php index f0264ac6c9..90908bf17e 100644 --- a/maintenance/runJobs.php +++ b/maintenance/runJobs.php @@ -102,6 +102,7 @@ class RunJobs extends Maintenance { } catch ( MWException $e ) { $status = false; $error = get_class( $e ) . ': ' . $e->getMessage(); + wfDebugLog( 'exception', $e->getLogMessage() ); } wfProfileOut( __METHOD__ . '-' . get_class( $job ) ); $timeMs = intval( ( microtime( true ) - $t ) * 1000 ); -- 2.20.1