[Modify] Polish it
This commit is contained in:
parent
7e633dace8
commit
7b80d2e8f5
@ -1118,8 +1118,10 @@ namespace WebSocketSharp.Server
|
||||
public bool PingTo (string message, 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