[Modify] Polish it
This commit is contained in:
parent
ef4c46640a
commit
f1fd8ebf74
@ -1066,8 +1066,10 @@ namespace WebSocketSharp.Server
|
||||
public bool PingTo (string id)
|
||||
{
|
||||
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