Ignore apparently squabblish ResizeObserver warnings

This commit is contained in:
somebody
2023-01-22 14:54:48 -06:00
parent 63121b2b89
commit 5162051a79

View File

@@ -7,6 +7,7 @@
window.addEventListener('error', function(event) {
let fileName = event.filename.split("/").splice(-1)[0];
if (event.message.includes("ResizeObserver loop completed with undelivered notifications")) return;
reportError(`Error at ${fileName}:${event.lineno}`, `${event.message}\n--\nPlease report this error to the developers.`);
debug_info.errors.push({msg: event.message, url: event.filename, line: event.lineno});
});