0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

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
This commit is contained in:
Kevin Ansfield 2024-01-04 10:50:15 +00:00 committed by GitHub
parent 3e98dd9edf
commit 46d6c56763
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,9 +183,14 @@ export default Route.extend(ShortcutsRoute, {
environment: this.config.sentry_env,
release: `ghost@${this.config.version}`,
beforeSend,
ignoreErrors: [
// TransitionAborted errors surface from normal application behaviour
// - https://github.com/emberjs/ember.js/issues/12505
ignoreErrors: [/^TransitionAborted$/]
/^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()];