This commit is contained in:
parent
24e46922c9
commit
a6e6a01cd0
@ -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 {
|
||||
|
Reference in New Issue
Block a user