Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleroooo committed Jan 8, 2025
1 parent 4b642e9 commit 39e543e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/abacus-ts/websocket/lib/reconnectingWebsocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class WebSocketConnection {
this.ws.onclose = (close) => {
// 1000 is expected and 1001 is for browser navigating away, below that are unused
if (close.code > 1001) {
logAbacusTsError('WebSocketConnection', `socket ${this.id} closed`, close);
logAbacusTsError('WebSocketConnection', `socket ${this.id} closed abnormally`, close);
}
this.close();
};
Expand Down

0 comments on commit 39e543e

Please sign in to comment.