mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-28 01:10:09 +00:00
Catch more specific exception in MathRestbaseInterface
Follows-up: Ic44463e910911afe6395c38fd2f59b9bfa02a4f0 Change-Id: I95846304e2a81119df5a3785a3f30ae8349cc720
This commit is contained in:
parent
d06bd18532
commit
ce1078f7cf
|
@ -80,7 +80,7 @@ class MathRestbaseInterface {
|
||||||
$response = $results[ $j ][ 'response' ];
|
$response = $results[ $j ][ 'response' ];
|
||||||
$mml = $rbi->evaluateContentResponse( 'mml', $response, $requests[$j] );
|
$mml = $rbi->evaluateContentResponse( 'mml', $response, $requests[$j] );
|
||||||
$rbi->mml = $mml;
|
$rbi->mml = $mml;
|
||||||
} catch ( Exception $e ) {
|
} catch ( MathRestbaseException $e ) {
|
||||||
// FIXME: Why is this silenced? Doesn't this leave invalid data behind?
|
// FIXME: Why is this silenced? Doesn't this leave invalid data behind?
|
||||||
}
|
}
|
||||||
$j++;
|
$j++;
|
||||||
|
|
Loading…
Reference in a new issue