From bb4e04df0b1c85b21554cb6a498ed3d45d600116 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 17 Aug 2025 00:19:16 +0800 Subject: [PATCH] :loud_sound: Add websocket logger back --- DysonNetwork.Pusher/Connection/WebSocketController.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DysonNetwork.Pusher/Connection/WebSocketController.cs b/DysonNetwork.Pusher/Connection/WebSocketController.cs index 59d4b39..71c41b3 100644 --- a/DysonNetwork.Pusher/Connection/WebSocketController.cs +++ b/DysonNetwork.Pusher/Connection/WebSocketController.cs @@ -65,8 +65,7 @@ public class WebSocketController(WebSocketService ws, ILogger } catch (Exception ex) { - if (ex is not WebSocketException) - logger.LogError(ex, "WebSocket disconnected with user @{UserName}#{UserId} and device #{DeviceId} unexpectedly"); + logger.LogError(ex, "WebSocket disconnected with user @{UserName}#{UserId} and device #{DeviceId} unexpectedly"); } finally {