Skip to content

Commit 3d904fd

Browse files
authored
Update websocket.dart
1 parent 4849ba5 commit 3d904fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/utils/websocket.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SimpleWebSocket {
2626
this?.onClose(_socket.closeCode, _socket.closeReason);
2727
});
2828
} catch (e) {
29-
this.onClose(_socket.closeCode, _socket.closeReason);
29+
this.onClose(500, e.toString());
3030
}
3131
}
3232

0 commit comments

Comments
 (0)