From 46d6c567631c1f2cfa4c81cff3777830427bcb2a Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 4 Jan 2024 10:50:15 +0000 Subject: [PATCH] Added ResizeObserver loop error to Sentry ignore list (#19440) closes https://github.com/TryGhost/Product/issues/4238 - the error often comes from extensions that we can't control and doesn't correspond to anything being broken so it's just noise --- ghost/admin/app/routes/application.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ghost/admin/app/routes/application.js b/ghost/admin/app/routes/application.js index 9973fd787e..e29eae32f7 100644 --- a/ghost/admin/app/routes/application.js +++ b/ghost/admin/app/routes/application.js @@ -183,9 +183,14 @@ export default Route.extend(ShortcutsRoute, { environment: this.config.sentry_env, release: `ghost@${this.config.version}`, beforeSend, - // TransitionAborted errors surface from normal application behaviour - // - https://github.com/emberjs/ember.js/issues/12505 - ignoreErrors: [/^TransitionAborted$/] + ignoreErrors: [ + // TransitionAborted errors surface from normal application behaviour + // - https://github.com/emberjs/ember.js/issues/12505 + /^TransitionAborted$/, + // ResizeObserver loop errors occur often from extensions and + // embedded content, generally harmless and not useful to report + /^ResizeObserver loop completed with undelivered notifications/ + ] }; if (this.config.sentry_env === 'development') { sentryConfig.integrations = [new Debug()];