From 6ef63da9734da425ab7e2bc013b5bf010466a3b3 Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Thu, 16 Dec 2021 14:02:57 +0100 Subject: [PATCH] Add sentry ignore rule --- src/dashboardWebView/index.tsx | 3 ++- src/panelWebView/index.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dashboardWebView/index.tsx b/src/dashboardWebView/index.tsx index 7a7b030c..bc5605d3 100644 --- a/src/dashboardWebView/index.tsx +++ b/src/dashboardWebView/index.tsx @@ -26,7 +26,8 @@ if (elm) { integrations: [new Integrations.BrowserTracing()], tracesSampleRate: 0, // No performance tracing required release: version || "", - environment: environment || "" + environment: environment || "", + ignoreErrors: ['ResizeObserver loop limit exceeded'] }); } diff --git a/src/panelWebView/index.tsx b/src/panelWebView/index.tsx index 2784294f..4452e418 100644 --- a/src/panelWebView/index.tsx +++ b/src/panelWebView/index.tsx @@ -27,7 +27,8 @@ Sentry.init({ integrations: [new Integrations.BrowserTracing()], tracesSampleRate: 0, // No performance tracing required release: version || "", - environment: environment || "" + environment: environment || "", + ignoreErrors: ['ResizeObserver loop limit exceeded'] }); declare const acquireVsCodeApi: () => {