diff --git a/packages/node/src/transport/WsInboundTransport.ts b/packages/node/src/transport/WsInboundTransport.ts index 77b335f913..fcdd980e33 100644 --- a/packages/node/src/transport/WsInboundTransport.ts +++ b/packages/node/src/transport/WsInboundTransport.ts @@ -96,7 +96,7 @@ export class WebSocketTransportSession implements TransportSession { } this.socket.send(JSON.stringify(encryptedMessage), (error?) => { if (error != undefined) { - this.logger.debug('Error sending message: ' + error ) + this.logger.debug(`Error sending message: ${error}`) throw new AriesFrameworkError(`${this.type} send message failed.`, { cause: error }) } else { this.logger.debug(`${this.type} sent message successfully.`)