[Modify] Throw exception

This commit is contained in:
sta 2017-02-19 16:47:20 +09:00
parent a0e56bcb38
commit 8a4e7d33e0

View File

@ -640,10 +640,8 @@ namespace WebSocketSharp.Server
set { set {
string msg; string msg;
if (!value.CheckWaitTime (out msg)) { if (!value.CheckWaitTime (out msg))
_logger.Error (msg); throw new ArgumentException (msg, "value");
return;
}
if (!canSet (out msg)) { if (!canSet (out msg)) {
_logger.Warn (msg); _logger.Warn (msg);