From b2284383bf7f3e8674804996b64041472b15d15c Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Wed, 7 Aug 2024 12:30:36 +0200 Subject: [PATCH] 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 --- ghost/admin/app/routes/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/app/routes/application.js b/ghost/admin/app/routes/application.js index 24a5f7ad57..49a3362a03 100644 --- a/ghost/admin/app/routes/application.js +++ b/ghost/admin/app/routes/application.js @@ -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