[Modify] Polish it
This commit is contained in:
parent
22117c527e
commit
be72979575
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user