From 87931f50cd718916b534fd0a2530654af1ce2a02 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Wed, 2 Sep 2026 22:30:16 +0200 Subject: [PATCH] fixup! wip try to enhance error handling --- src/frontend/src/features/rooms/livekit/hooks/useJoinTracks.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/features/rooms/livekit/hooks/useJoinTracks.ts b/src/frontend/src/features/rooms/livekit/hooks/useJoinTracks.ts index 6599351c..babd6b8b 100644 --- a/src/frontend/src/features/rooms/livekit/hooks/useJoinTracks.ts +++ b/src/frontend/src/features/rooms/livekit/hooks/useJoinTracks.ts @@ -238,7 +238,8 @@ export function useJoinTracks(): { // A camera problem (permission, device missing/busy) is not the // effect's fault: let the normal media error handling deal with it // without touching the user's saved effect. - if (getMediaDeviceFailure(error as Error)) { + const e = getMediaDeviceFailure(error as Error) + if (e !== MediaDeviceFailure.Other && !!e) { throw error } reportError('effects_processor_failure', error, {