[Modify] Polish it
This commit is contained in:
parent
6b7af9ad57
commit
473cf76f1b
@ -944,15 +944,12 @@ namespace WebSocketSharp.Server
|
||||
}
|
||||
);
|
||||
}
|
||||
catch (HttpListenerException ex) {
|
||||
if (_state == ServerState.ShuttingDown) {
|
||||
_log.Info ("The receiving is stopped.");
|
||||
catch (HttpListenerException) {
|
||||
_log.Info ("The underlying listener is stopped.");
|
||||
break;
|
||||
}
|
||||
|
||||
_log.Fatal (ex.Message);
|
||||
_log.Debug (ex.ToString ());
|
||||
|
||||
catch (InvalidOperationException) {
|
||||
_log.Info ("The underlying listener is stopped.");
|
||||
break;
|
||||
}
|
||||
catch (Exception ex) {
|
||||
|
Loading…
Reference in New Issue
Block a user