Skip to content

[FIX] Suppress transient websocket errors from Sentry#2010

Merged
kpal81xd merged 1 commit intomainfrom
fix/websocket-sentry-noise
Apr 15, 2026
Merged

[FIX] Suppress transient websocket errors from Sentry#2010
kpal81xd merged 1 commit intomainfrom
fix/websocket-sentry-noise

Conversation

@kpal81xd
Copy link
Copy Markdown
Contributor

What's Changed

  • Downgrade per-attempt WebSocket onerror logging from log.error (Sentry) to console.warn (local only) across editor, launch, and code-editor realtime connections
  • Add log.error at the cannotConnect point in editor and launch so persistent failures (all retries exhausted) still reach Sentry
  • Eliminates ~50 noisy Sentry events/day from transient connection hiccups that self-recover on retry (PLAY-CANVAS-G3CP)

Checks

Downgrade per-attempt websocket error logging from log.error (sentry)
to console.warn (local only) so transient connection failures that
recover on retry don't create noisy sentry events. Report to sentry
only when all retry attempts are exhausted (cannotConnect).

Resolves PLAY-CANVAS-G3CP.
@kpal81xd kpal81xd self-assigned this Apr 15, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 15, 2026

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

Project Deployment Actions Updated (UTC)
editor Ready Ready Preview, Comment Apr 15, 2026 10:46am

Request Review

@kpal81xd kpal81xd merged commit 01eb8e0 into main Apr 15, 2026
7 checks passed
@kpal81xd kpal81xd deleted the fix/websocket-sentry-noise branch April 15, 2026 10:47
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