diff --git a/canvas/src/components/tabs/chat/hooks/useChatSocket.ts b/canvas/src/components/tabs/chat/hooks/useChatSocket.ts index e73439f0a..b43a6e0b2 100644 --- a/canvas/src/components/tabs/chat/hooks/useChatSocket.ts +++ b/canvas/src/components/tabs/chat/hooks/useChatSocket.ts @@ -211,8 +211,10 @@ export function useChatSocket( kind: (p.kind as string) || "", }); } - } catch { - /* ignore */ + } catch (err) { + // Don't silently swallow socket message parse/handling errors; + // otherwise malformed payloads fail invisibly (mc#2908 F6). + console.error("useChatSocket: failed to handle WebSocket message", err); } }); }