Fixed message_send_failed_with_error log message

This commit is contained in:
Chomp
2025-11-11 09:52:33 +00:00
parent 924e00f0d2
commit 3d5cc4ca03
@@ -202,13 +202,13 @@ public class SptWebSocketConnectionHandler(
{
if (logger.IsLogEnabled(LogLevel.Debug))
{
logger.Debug(serverLocalisationService.GetText("websocket-not_ready_message_not_sent", sessionID));
logger.Debug(serverLocalisationService.GetText("websocket-not_ready_message_not_sent", sessionID.ToString()));
}
}
}
catch (Exception err)
{
logger.Error(serverLocalisationService.GetText("websocket-message_send_failed_with_error"), err);
logger.Error(serverLocalisationService.GetText("websocket-message_send_failed_with_error", err.Message), err);
}
}