mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
Fixed unreachable code
This commit is contained in:
@@ -52,8 +52,8 @@ export class WebsocketService {
|
||||
}, 400);
|
||||
|
||||
if (ws.readyState !== WebSocket.OPEN) {
|
||||
throw new Error('Failed to send message to websocket after 10 attempts');
|
||||
this.isConnected = false;
|
||||
throw new Error('Failed to send message to websocket after 10 attempts');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user