Catch more specific exception in MathRestbaseInterface

Follows-up: Ic44463e910911afe6395c38fd2f59b9bfa02a4f0
Change-Id: I95846304e2a81119df5a3785a3f30ae8349cc720
This commit is contained in:
Daimona Eaytoy 2023-06-09 13:01:18 +02:00
parent d06bd18532
commit ce1078f7cf

View file

@ -80,7 +80,7 @@ class MathRestbaseInterface {
$response = $results[ $j ][ 'response' ];
$mml = $rbi->evaluateContentResponse( 'mml', $response, $requests[$j] );
$rbi->mml = $mml;
} catch ( Exception $e ) {
} catch ( MathRestbaseException $e ) {
// FIXME: Why is this silenced? Doesn't this leave invalid data behind?
}
$j++;