[Modify] Polish it
This commit is contained in:
parent
e0f101bd47
commit
eed0410df3
@ -1526,8 +1526,10 @@ namespace WebSocketSharp.Server
|
||||
)
|
||||
{
|
||||
IWebSocketSession session;
|
||||
|
||||
if (!TryGetSession (id, out session)) {
|
||||
var msg = "The session could not be found.";
|
||||
|
||||
throw new InvalidOperationException (msg);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user