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
This commit is contained in:
Daniel Lockyer 2024-06-27 08:52:27 +02:00 committed by Daniel Lockyer
parent 0cf3d4d3d5
commit aa0110c842

View File

@ -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/,