diff --git a/src/frontend/src/App.jsx b/src/frontend/src/App.jsx index 102db636cc..70ce57f789 100755 --- a/src/frontend/src/App.jsx +++ b/src/frontend/src/App.jsx @@ -24,7 +24,7 @@ const SUPPRESSED_WARNINGS = [ ]; console.error = function filterWarnings(msg, ...args) { - if (!msg) { + if (typeof msg !== 'string') { consoleError(...args); } else if (!SUPPRESSED_WARNINGS.some((entry) => msg.includes(entry))) { consoleError(msg, ...args);