From aa0110c842167a93b15a74b988c97b617a182bbd Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 27 Jun 2024 08:52:27 +0200 Subject: [PATCH] Adjusted Sentry ignore list to cover more browser play errors fix https://linear.app/tryghost/issue/SLO-172/error-aborterror-the-play-request-was-interrupted-because-the-media - there are a few error messages we can ignore here, as browsers output slightly different messages for various types of these errors, which don't affect the user --- ghost/admin/app/routes/application.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/admin/app/routes/application.js b/ghost/admin/app/routes/application.js index 706d1325b7..6c05f8be48 100644 --- a/ghost/admin/app/routes/application.js +++ b/ghost/admin/app/routes/application.js @@ -185,8 +185,8 @@ export default Route.extend(ShortcutsRoute, { release: `ghost@${this.config.version}`, beforeSend, ignoreErrors: [ - // Browser autoplay policies - /The play() request was interrupted because video-only background media was paused to save power./, + // Browser autoplay policies (this regex covers a few) + /The play() request was interrupted/, // Network errors that we don't control /Server was unreachable/,