mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-12-27 22:18:52 +00:00
Throws better error
This commit is contained in:
parent
821c8211cc
commit
579983eebc
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user