mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-25 23:09:22 +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,
|
code: code,
|
||||||
message: message
|
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 {
|
public success(message: string): void {
|
||||||
|
Loading…
Reference in New Issue
Block a user