Skip to content

Commit

Permalink
Most of codacy warnings resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Snafkin547 committed Jun 10, 2024
1 parent d8122b7 commit 3010311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/socket/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class SocketEvent {
}
});

this.socket.on('error', (msg) => {
this.jiffClient.socket.on('error', (msg) => {

Check warning on line 91 in lib/client/socket/events.js

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

lib/client/socket/events.js#L91

Detect inappropriate function body content
try {
msg = JSON.parse(msg);
this.jiffClient.handlers.error(msg['label'], msg['error']);
Expand Down

0 comments on commit 3010311

Please sign in to comment.