Commit 665528de authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ss/fix-sast-failure-on-master-ee' into 'master'

Add argument to catch

See merge request gitlab-org/gitlab-ee!15911
parents 12834544 a8d9a129
......@@ -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';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment