diff --git a/src/websocket.ts b/src/websocket.ts index 658a67b..4293ad1 100644 --- a/src/websocket.ts +++ b/src/websocket.ts @@ -75,6 +75,7 @@ export class WebsocketConnectionManager { const answer = (id: string, data: any, err?: Error | string) => { let error = false; if (err) { + Logging.error(err); if (err instanceof Error) { data = err.message; } else {