mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
Resolves ecs-1042
This commit is contained in:
parent
e3a3a2cd2d
commit
3adee8bc30
1 changed files with 1 additions and 2 deletions
|
|
@ -458,13 +458,12 @@ namespace PepperDash.Essentials
|
||||||
var result = WSClient.Send(messageBytes, (uint)messageBytes.Length, WebSocketClient.WEBSOCKET_PACKET_TYPES.LWS_WS_OPCODE_07__TEXT_FRAME);
|
var result = WSClient.Send(messageBytes, (uint)messageBytes.Length, WebSocketClient.WEBSOCKET_PACKET_TYPES.LWS_WS_OPCODE_07__TEXT_FRAME);
|
||||||
if (result != WebSocketClient.WEBSOCKET_RESULT_CODES.WEBSOCKET_CLIENT_SUCCESS)
|
if (result != WebSocketClient.WEBSOCKET_RESULT_CODES.WEBSOCKET_CLIENT_SUCCESS)
|
||||||
{
|
{
|
||||||
#warning It seems like this debug statement is throwing an exception when called
|
|
||||||
Debug.Console(1, this, "Socket send result error: {0}", result);
|
Debug.Console(1, this, "Socket send result error: {0}", result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (WSClient == null)
|
else if (WSClient == null)
|
||||||
{
|
{
|
||||||
Debug.Console(1, this, "Cannot send. Not connected {0}");
|
Debug.Console(1, this, "Cannot send. Not connected.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue