Skip to content

Commit

Permalink
Simplify logs for websocket error
Browse files Browse the repository at this point in the history
  • Loading branch information
zodern committed Nov 20, 2023
1 parent 2616270 commit 1e00b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/websocket-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function persistentConnectWebSocket(

// If not closed locally by the client, we log the error
if (error.code !== 1006) {
console.error(error);
console.error(`Monti APM Websocket error: ${error.message}`);
}

attempts++;
Expand Down

0 comments on commit 1e00b8b

Please sign in to comment.