You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web_src/js/bootstrap.js
+4
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,10 @@ function processWindowErrorEvent(e) {
25
25
// If a script inserts a newly created (and content changed) element into DOM, there will be a nonsense error event reporting: Script error: line 0, col 0.
26
26
return;// ignore such nonsense error event
27
27
}
28
+
29
+
// Wait for upstream fix: https://github.com/microsoft/monaco-editor/issues/2962
30
+
if(e.message.includes('Language id "vs.editor.nullLanguage" is not configured nor known'))return;
31
+
28
32
showGlobalErrorMessage(`JavaScript error: ${e.message} (${e.filename} @ ${e.lineno}:${e.colno}). Open browser console to see more details.`);
0 commit comments