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 4849ba5 commit 3d904fdCopy full SHA for 3d904fd
lib/src/utils/websocket.dart
@@ -26,7 +26,7 @@ class SimpleWebSocket {
26
this?.onClose(_socket.closeCode, _socket.closeReason);
27
});
28
} catch (e) {
29
- this.onClose(_socket.closeCode, _socket.closeReason);
+ this.onClose(500, e.toString());
30
}
31
32
0 commit comments