You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2023/08/02 14:41:30 UTC
[superset] branch master updated: fix: Ignores ResizeObserver errors in development mode (#24868)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 434db0d686 fix: Ignores ResizeObserver errors in development mode (#24868)
434db0d686 is described below
commit 434db0d686ae246a0fd7a7b31dba856f63ae2b16
Author: Michael S. Molina <70...@users.noreply.github.com>
AuthorDate: Wed Aug 2 11:41:21 2023 -0300
fix: Ignores ResizeObserver errors in development mode (#24868)
---
superset-frontend/webpack.config.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js
index f0bab49244..51e37c3aeb 100644
--- a/superset-frontend/webpack.config.js
+++ b/superset-frontend/webpack.config.js
@@ -512,7 +512,11 @@ if (isDevMode) {
() => proxyConfig,
],
client: {
- overlay: { errors: true, warnings: false },
+ overlay: {
+ errors: true,
+ warnings: false,
+ runtimeErrors: error => !/ResizeObserver/.test(error.message),
+ },
logging: 'error',
},
static: path.join(process.cwd(), '../static/assets'),