Last modified: 2013-04-22 16:16:23 UTC
ApiMain.php, line 373: } catch ( Exception $e ) { line 380: if ( $wgLogExceptionBacktrace ) { wfDebugLog( 'exception', $e->getLogMessage() . "\n" . $e->getTraceAsString() . "\n" ); } else { wfDebugLog( 'exception', $e->getLogMessage() ); } Since getLogMessage() is defined MWException, if Exception caught is not MWException (which is allowed by catch), we get a call to undefined method fatal.
Gerrit change #38074
[ Bug assigned to code submitter ]
Change merged.