未验证 提交 0be35b49 编写于 作者: K Kushal Pandya 提交者: Robert Speicher

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

Add argument to catch

See merge request gitlab-org/gitlab-ee!15911
上级 2e08a701
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册