[Modify] Polish it
This commit is contained in:
parent
8e10174cab
commit
7eb110212d
@ -1555,11 +1555,11 @@ namespace WebSocketSharp
|
|||||||
|
|
||||||
sent = send (opcode, stream, compressed);
|
sent = send (opcode, stream, compressed);
|
||||||
if (!sent)
|
if (!sent)
|
||||||
error ("The sending has been interrupted.", null);
|
error ("A send has been interrupted.", null);
|
||||||
}
|
}
|
||||||
catch (Exception ex) {
|
catch (Exception ex) {
|
||||||
_logger.Error (ex.ToString ());
|
_logger.Error (ex.ToString ());
|
||||||
error ("An exception has occurred while sending.", ex);
|
error ("An exception has occurred during a send.", ex);
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
if (compressed)
|
if (compressed)
|
||||||
|
Loading…
Reference in New Issue
Block a user