We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94d88ce commit 6d6e733Copy full SHA for 6d6e733
1 file changed
Common/Websocket/WebsockBaseController.cs
@@ -197,6 +197,7 @@ private async Task MessageLoop()
197
catch (Exception e)
198
{
199
Logger.LogError(e, "Error while sending message to client - {Msg}", JsonSerializer.Serialize(msg));
200
+ await ForceClose(WebSocketCloseStatus.InternalServerError, "Internal server error, error sending message to websocket client");
201
throw;
202
}
203
0 commit comments