Skip to content

fix(sentry): guard pauseVideo optional chaining + add 4 noise filters#624

Merged
koala73 merged 1 commit into
mainfrom
fix/sentry-pauseVideo-noise
Mar 1, 2026
Merged

fix(sentry): guard pauseVideo optional chaining + add 4 noise filters#624
koala73 merged 1 commit into
mainfrom
fix/sentry-pauseVideo-noise

Conversation

@koala73

@koala73 koala73 commented Mar 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix this.player.pauseVideo()this.player.pauseVideo?.() in LiveNewsPanel (6 Sentry issues, 33 events)
  • Add 4 noise filter patterns to ignoreErrors in src/main.ts
  • Broaden existing Can't find variable pattern to include EmptyRanges

Sentry issues resolved (12 of 13)

ID Category Action
6T, 6R, 6J, 6Q, 6P, 6M Actionable pauseVideo?.() optional chaining fix
6K, 6F Stale builds /this\.player\.\w+ is not a function/ noise filter
6G Noise Chrome extension "Could not establish connection"
6S Noise Safari webkitCurrentPlaybackTargetIsWireless
2S Noise Sentry SDK crash on iOS (a.theme)
6H Noise Broadened Can't find variable for EmptyRanges
6N Skipped Too generic (e.type minified, no stack trace)

Test plan

  • tsc --noEmit passes
  • All 12 issues marked resolved in Sentry with inNextRelease: true

- Fix: `this.player.pauseVideo()` → `this.player.pauseVideo?.()` at
  LiveNewsPanel line 1301 (6 Sentry issues, 33 events)
- Noise: Chrome extension "Could not establish connection"
- Noise: Safari "webkitCurrentPlaybackTargetIsWireless" internal
- Noise: Sentry SDK crash on iOS "a.theme"
- Noise: Broaden Can't find variable to include EmptyRanges
- Noise: Catch stale cached builds with /this.player.\w+ is not a function/
@vercel

vercel Bot commented Mar 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldmonitor Ready Ready Preview, Comment Mar 1, 2026 1:00am
worldmonitor-finance Ready Ready Preview, Comment Mar 1, 2026 1:00am
worldmonitor-happy Ready Ready Preview, Comment Mar 1, 2026 1:00am
worldmonitor-startup Ready Ready Preview, Comment Mar 1, 2026 1:00am

Request Review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@koala73
koala73 merged commit 6281359 into main Mar 1, 2026
6 checks passed
koala73 added a commit that referenced this pull request Mar 1, 2026
…#624)

- Fix: `this.player.pauseVideo()` → `this.player.pauseVideo?.()` at
  LiveNewsPanel line 1301 (6 Sentry issues, 33 events)
- Noise: Chrome extension "Could not establish connection"
- Noise: Safari "webkitCurrentPlaybackTargetIsWireless" internal
- Noise: Sentry SDK crash on iOS "a.theme"
- Noise: Broaden Can't find variable to include EmptyRanges
- Noise: Catch stale cached builds with /this.player.\w+ is not a function/
matthewvecchione1-ops pushed a commit to matthewvecchione1-ops/worldmonitor that referenced this pull request Mar 4, 2026
…koala73#624)

- Fix: `this.player.pauseVideo()` → `this.player.pauseVideo?.()` at
  LiveNewsPanel line 1301 (6 Sentry issues, 33 events)
- Noise: Chrome extension "Could not establish connection"
- Noise: Safari "webkitCurrentPlaybackTargetIsWireless" internal
- Noise: Sentry SDK crash on iOS "a.theme"
- Noise: Broaden Can't find variable to include EmptyRanges
- Noise: Catch stale cached builds with /this.player.\w+ is not a function/
@koala73
koala73 deleted the fix/sentry-pauseVideo-noise branch March 4, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant