1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-12-27 22:18:52 +00:00

Throws better error

This commit is contained in:
Pierre HUBERT 2020-03-31 16:34:32 +02:00
parent 821c8211cc
commit 579983eebc

View File

@ -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 {