Skip to content

armgit / meet

Public Imported from GitHub
0

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.md
index 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-14
diff --git a/src/frontend/src/features/analytics/exceptionFilters.ts b/src/frontend/src/features/analytics/exceptionFilters.ts
index 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 =>