From: Aaron Schulz Date: Thu, 16 May 2013 20:51:36 +0000 (-0700) Subject: Make sure job runner exceptions get logged. X-Git-Tag: 1.31.0-rc.0~19638^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=294e591a3c0eb8f7a6a16ebe624b2a3b6e384ab2;p=lhc%2Fweb%2Fwiklou.git Make sure job runner exceptions get logged. Change-Id: Ie468e7009c45a2b637df38309fd7b8368e021b6d --- 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 );