[Modify] Polish it

This commit is contained in:
sta 2017-08-25 16:20:30 +09:00
parent 22117c527e
commit be72979575

View File

@ -1770,12 +1770,15 @@ namespace WebSocketSharp
{ {
try { try {
_stream.Write (bytes, 0, bytes.Length); _stream.Write (bytes, 0, bytes.Length);
return true;
} }
catch (Exception ex) { catch (Exception ex) {
_logger.Error (ex.ToString ()); _logger.Error (ex.Message);
_logger.Debug (ex.ToString ());
return false; return false;
} }
return true;
} }
// As client // As client