Skip to content

Commit

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

0 comments on commit 8d4c04e

Please sign in to comment.