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 47c9993 commit 9cbdeb3Copy full SHA for 9cbdeb3
price-service/src/ws.ts
@@ -233,6 +233,10 @@ export class WebSocketAPI {
233
this.aliveClients.add(ws);
234
});
235
236
+ ws.on("error", (err: Error) => {
237
+ logger.warn(`Err with client ${this.wsId.get(ws)}: ${err}`);
238
+ });
239
+
240
ws.on("close", (_code: number, _reason: Buffer) => {
241
logger.info(`client ${this.wsId.get(ws)} closed the connection.`);
242
this.promClient?.addWebSocketInteraction("close", "ok");
0 commit comments