From eae60714b42bef288ac89822cd23884efb42648d Mon Sep 17 00:00:00 2001 From: stary <834207172@qq.com> Date: Tue, 12 May 2026 22:15:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=9B=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/signaling.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/signaling.js b/client/src/signaling.js index 88001e2..af58762 100644 --- a/client/src/signaling.js +++ b/client/src/signaling.js @@ -202,7 +202,9 @@ export class WebSocketSignaling extends EventTarget { { let parsed = msg.data; if (typeof msg.data === 'string') { - try { parsed = JSON.parse(msg.data); } catch(e) {} + try { parsed = JSON.parse(msg.data); } catch(e) { + Logger.error(`Signaling: on-message, error: ${e}`); + } } if (msg.participantId) { parsed.participantId = msg.participantId;