fix error log when reconnect cycle fails
This commit is contained in:
@@ -358,8 +358,10 @@ export class WebsocketClient extends EventEmitter {
|
||||
|
||||
default:
|
||||
this.logger.error(
|
||||
`{context} due to unexpected response error: ${error.msg}`,
|
||||
{ ...loggerCategory, wsKey }
|
||||
`${context} due to unexpected response error: "${
|
||||
error?.msg || error?.message || error
|
||||
}"`,
|
||||
{ ...loggerCategory, wsKey, error }
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user