Fixed matching ignored errors

refs https://ghost-foundation.sentry.io/issues/4907452370/

- we want to ignore these errors but the caret is stopping us from doing
  so because the errors usually start with AbortError
- we can remove the caret to do so and clean up Sentry
This commit is contained in:
Daniel Lockyer 2024-08-07 12:30:36 +02:00 committed by Daniel Lockyer
parent 0d1916505f
commit b2284383bf

View File

@ -186,7 +186,7 @@ export default Route.extend(ShortcutsRoute, {
beforeSend,
ignoreErrors: [
// Browser autoplay policies (this regex covers a few)
/^The play\(\) request was interrupted.*/,
/The play\(\) request was interrupted.*/,
/The request is not allowed by the user agent or the platform in the current context/,
// Network errors that we don't control