We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8803529 commit 26fcee9Copy full SHA for 26fcee9
src/ElectronNET.API/Bridge/SocketIOFacade.cs
@@ -19,6 +19,12 @@ public SocketIoFacade(string uri)
19
_socket.Serializer = new SystemTextJsonSerializer(ElectronJson.Options);
20
// Use default System.Text.Json serializer from SocketIOClient.
21
// Outgoing args are normalized to camelCase via SerializeArg in Emit.
22
+ _socket.OnError += this.Socket_OnError;
23
+ }
24
+
25
+ private void Socket_OnError(object sender, string e)
26
+ {
27
+ Console.Error.WriteLine("_socket.OnError fired: " + e);
28
}
29
30
public event EventHandler BridgeDisconnected;
0 commit comments