fix: disable Sentry HTTP client error capture for browser panels
Closed
ZE
2mo ago+4+4+0123456789-0-0-0123456789
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 = falsein 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