How do I trap certain errors on WebsocketSharp
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
0
I'm using WebsocketSharp to connect to an exchange. I have an onerror event: ws.OnError += (sender, e) => { Debug.WriteLine("WS Error: " + e.Message); return; }; But it doesn't pick up errors like the following: 2018/11/22 12:06:39 PM|Fatal|WebSocket.b__175_2:0|System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host ...