fix: disable Sentry HTTP client error capture for browser panels

Closed
ZE
2mo ago
+4-0

Summary

Fixes #241

Browser panels load user-visited websites whose HTTP errors (e.g. HTTP 500 for /favicon.ico from a local dev server) are not cmux bugs. The Sentry Swift SDK captures these by default via enableCaptureFailedRequests, creating noise in Sentry (26 events on CMUXTERM-MACOS-3X).

Changes

  • Set options.enableCaptureFailedRequests = false in Sentry SDK configuration

Why this approach?

The Sentry Swift SDK automatically captures HTTP client errors (status codes 500-599) by default. Since cmux embeds a browser (WKWebView) that loads arbitrary user URLs, these HTTP errors from external sites are expected and not actionable.


šŸ¤– Generated with Claude Code