From 454f8b284f8b290b133ac2012907dad4d7da32cc Mon Sep 17 00:00:00 2001 From: abretonc7s Date: Tue, 27 Aug 2024 20:58:02 +0800 Subject: [PATCH] feat: cleanup --- .../SocketService/EventListeners/handleSocketError.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/sdk-communication-layer/src/services/SocketService/EventListeners/handleSocketError.ts b/packages/sdk-communication-layer/src/services/SocketService/EventListeners/handleSocketError.ts index 1f510d666..701a78eea 100644 --- a/packages/sdk-communication-layer/src/services/SocketService/EventListeners/handleSocketError.ts +++ b/packages/sdk-communication-layer/src/services/SocketService/EventListeners/handleSocketError.ts @@ -18,7 +18,10 @@ export function handleSocketError(instance: SocketService) { ); reconnectSocket(instance).catch((_e) => { - // error handled in reconnectSocket + console.error( + `[SocketService: handleSocketError()] error in reconnectSocket`, + error, + ); }); }; }