[Modify] Polish it

This commit is contained in:
sta 2021-11-22 21:13:36 +09:00
parent e0f101bd47
commit eed0410df3

View File

@ -1526,8 +1526,10 @@ namespace WebSocketSharp.Server
) )
{ {
IWebSocketSession session; IWebSocketSession session;
if (!TryGetSession (id, out session)) { if (!TryGetSession (id, out session)) {
var msg = "The session could not be found."; var msg = "The session could not be found.";
throw new InvalidOperationException (msg); throw new InvalidOperationException (msg);
} }