From ad5cfd66a3fccf94ddcabce8675a3bf742669484 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Tue, 29 Oct 2024 08:20:52 +0000 Subject: [PATCH] fix: log relay response messages --- .../src/transport/reservation-store.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/transport-circuit-relay-v2/src/transport/reservation-store.ts b/packages/transport-circuit-relay-v2/src/transport/reservation-store.ts index 971a73c81a..e15abb3b4e 100644 --- a/packages/transport-circuit-relay-v2/src/transport/reservation-store.ts +++ b/packages/transport-circuit-relay-v2/src/transport/reservation-store.ts @@ -440,7 +440,7 @@ export class ReservationStore extends TypedEventEmitter let response: HopMessage try { - this.log.trace('read response from %p', connection.remotePeer) + this.log.trace('reading response from %p', connection.remotePeer) response = await hopstr.read(options) } catch (err: any) { stream.abort(err) @@ -451,7 +451,7 @@ export class ReservationStore extends TypedEventEmitter } } - this.log.trace('read response from %p', response) + this.log.trace('read response %o', response) if (response.status === Status.OK && response.reservation != null) { // check that the returned relay has the relay address - this can be