Add argument to catch
This commit is contained in:
parent
88c6423e4a
commit
5f3a597096
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class SafeMathRenderer {
|
|||
maxSize: 20,
|
||||
maxExpand: 20,
|
||||
});
|
||||
} catch {
|
||||
} catch (e) {
|
||||
// Don't show a flash for now because it would override an existing flash message
|
||||
el.textContent = s__('math|There was an error rendering this math block');
|
||||
// el.style.color = '#d00';
|
||||
|
|
Loading…
Reference in a new issue