diff --git a/src/replay/components/VesselListManager/VesselListPanel.tsx b/src/replay/components/VesselListManager/VesselListPanel.tsx index de5381f7..f8418bcd 100644 --- a/src/replay/components/VesselListManager/VesselListPanel.tsx +++ b/src/replay/components/VesselListManager/VesselListPanel.tsx @@ -104,7 +104,7 @@ const VesselListPanel = ({ if (vesselId && sourceState && sourceState !== state) { onDrop?.(vesselId, sourceState, state); } - } catch (error) { + } catch { // 드롭 데이터 파싱 실패 시 무시 (외부 드래그 소스일 수 있음) } }, diff --git a/src/replay/services/ReplayWebSocketService.ts b/src/replay/services/ReplayWebSocketService.ts index 7bd2dd14..3e0d615b 100644 --- a/src/replay/services/ReplayWebSocketService.ts +++ b/src/replay/services/ReplayWebSocketService.ts @@ -289,7 +289,7 @@ class ReplayWebSocketService { private _clearSubscriptions(): void { this.subscriptions.forEach((sub) => { - try { sub.unsubscribe(); } catch (e) { /* ignore */ } + try { sub.unsubscribe(); } catch { /* ignore */ } }); this.subscriptions = []; } @@ -569,7 +569,7 @@ class ReplayWebSocketService { this._clearSubscriptions(); if (this.client?.connected) { - try { this.client.deactivate(); } catch (e) { /* ignore */ } + try { this.client.deactivate(); } catch { /* ignore */ } } this.client = null; diff --git a/src/workers/signalWorker.ts b/src/workers/signalWorker.ts index 063513ca..cb8d924e 100644 --- a/src/workers/signalWorker.ts +++ b/src/workers/signalWorker.ts @@ -167,7 +167,7 @@ workerSelf.onmessage = (e: MessageEvent): void => { const row = rawMessages[i].split('|'); const ship = rowToShipObject(row); ships.push(ship); - } catch (_err) { + } catch { // 파싱 에러는 무시하고 계속 진행 } }