Skip to content

Commit

Permalink
of
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelSyntronic committed Mar 14, 2024
1 parent 679641f commit d83d87a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/TurboBot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ export class TurboBot {
}
}
ws.onerror = (e) => {
console.log(`WS error:\n${e.message}`)
const msg = e.error.message;
const errorsCount = e.error.errors.length
console.log(`WS error msg: ${msg}`)
console.log(`WS inner errors count: ${errorsCount}`)
}
})
}
Expand Down

0 comments on commit d83d87a

Please sign in to comment.