Skip to content

Commit

Permalink
[LINT] fixed linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Jul 11, 2024
1 parent 6559b69 commit c4de972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport-ws/src/ws_transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export class WsTransport implements Transport {
try {
// 1002 endpoint error, 1000 is clean
this.socket.close(err ? 1002 : 1000, err ? err.message : undefined);
} catch (err) {
} catch (_) {
// ignore this
}
if (internal) {
Expand Down

0 comments on commit c4de972

Please sign in to comment.