From 0e94303791d592aeb41fa67f69557357b705c3d4 Mon Sep 17 00:00:00 2001 From: Kostas Bariotis Date: Mon, 13 Apr 2020 15:34:39 +0100 Subject: [PATCH] =?UTF-8?q?Ignore=20`undefined=20is=20not=20an=20object=20?= =?UTF-8?q?(evaluating=20'window.=5F=5Fpad.pe=E2=80=A6=20(#1417)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 22692fc14..0eb056b7e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -26,6 +26,9 @@ Sentry.init({ : undefined, environment: onlineEnv ? SentryEnvHostnameMap[onlineEnv] : undefined, release: process.env.REACT_APP_GIT_SHA, + ignoreErrors: [ + "undefined is not an object (evaluating 'window.__pad.performLoop')", // Only happens on Safari, but spams our servers. Doesn't break anything + ], integrations: [ new SentryIntegrations.CaptureConsole({ levels: ["error"],