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:
parent
3e98dd9edf
commit
46d6c56763
1 changed files with 8 additions and 3 deletions
|
@ -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()];
|
||||
|
|
Loading…
Add table
Reference in a new issue