Open source video conferencing app powered by LiveKit. Built with Django and React.
π(frontend) suppress leaked WebSocket error events from livekit-client
lebaudantoine1bfe6b89778f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex b54eae70..2eb222b7 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -35,6 +35,7 @@ and this project adheres to- π(frontend) handle device-in-use errors on Chrome / Windows 10- π(frontend) handle Firefox/Windows AbortError on device start- π(frontend) treat "Timeout starting source" AbortError as device-in-use+- π(frontend) suppress leaked WebSocket error events from livekit-client## [1.27.0] - 2026-08-14diff --git a/src/frontend/src/features/analytics/exceptionFilters.ts b/src/frontend/src/features/analytics/exceptionFilters.tsindex 9a11cfe9..aa97d502 100644--- a/src/frontend/src/features/analytics/exceptionFilters.ts+++ b/src/frontend/src/features/analytics/exceptionFilters.ts@@ -2,6 +2,12 @@ import type { CaptureResult } from 'posthog-js'const IGNORED_EXCEPTION_PATTERNS = [/ResizeObserver loop (completed with undelivered notifications|limit exceeded)/,+ // livekit-client leaks the raw WebSocket error Event as an unhandled+ // rejection when the signal ws errors after connect (Firefox-heavy,+ // coincides with signal reconnects). Carries zero diagnostic content β+ // the close reason is already logged by the SDK.+ // See: https://github.com/livekit/client-sdk-js/issues/2062+ /^Event captured as exception with keys: isTrusted$/,]const shouldIgnoreException = (value: unknown): boolean =>