Commit 9cd8cfe6 authored by Kushal Pandya's avatar Kushal Pandya

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

Add argument to catch

See merge request gitlab-org/gitlab-ce!32484
parents b09c5f4c 5f3a5970
......@@ -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