|
|
|
@ -1097,10 +1097,7 @@ namespace WebSocketSharp
|
|
|
|
reason = wsex.Message;
|
|
|
|
reason = wsex.Message;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (code == CloseStatusCode.Abnormal || code == CloseStatusCode.TlsHandshakeFailure)
|
|
|
|
_logger.Fatal (exception.ToString ());
|
|
|
|
_logger.Fatal (exception.ToString ());
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
_logger.Error (reason);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
error (message ?? code.GetMessage (), exception);
|
|
|
|
error (message ?? code.GetMessage (), exception);
|
|
|
|
if (!_client && _readyState == WebSocketState.Connecting) {
|
|
|
|
if (!_client && _readyState == WebSocketState.Connecting) {
|
|
|
|
|