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) => {
|
const answer = (id: string, data: any, err?: Error | string) => {
|
||||||
let error = false;
|
let error = false;
|
||||||
if (err) {
|
if (err) {
|
||||||
|
Logging.error(err);
|
||||||
if (err instanceof Error) {
|
if (err instanceof Error) {
|
||||||
data = err.message;
|
data = err.message;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user