From d83d87a79b31f3c2a3d9093fdf9e0efa673a9c13 Mon Sep 17 00:00:00 2001 From: Pavel Shyliahau Date: Thu, 14 Mar 2024 16:15:21 -0500 Subject: [PATCH] of --- client/TurboBot.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/TurboBot.ts b/client/TurboBot.ts index bc4d9e8..92c92a9 100644 --- a/client/TurboBot.ts +++ b/client/TurboBot.ts @@ -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}`) } }) }