diff --git a/src/entities/WebSocketRequestHandler.ts b/src/entities/WebSocketRequestHandler.ts index 296b05f..f8c2ef2 100644 --- a/src/entities/WebSocketRequestHandler.ts +++ b/src/entities/WebSocketRequestHandler.ts @@ -38,7 +38,7 @@ export class UserWebSocketRequestsHandler extends BaseRequestsHandler { code: code, message: message }); - throw new Error("An error occured while processing user WS request!"); + throw new Error("User WS error ("+code+"): "+message); } public success(message: string): void {