From c9eefcfc0d72d088cf7312aaf30fee38e475ac59 Mon Sep 17 00:00:00 2001 From: minibits-cash Date: Fri, 11 Sep 2026 23:10:24 +0200 Subject: [PATCH] Clean up logs --- src/services/wallet/operations/nostrOperations.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/wallet/operations/nostrOperations.ts b/src/services/wallet/operations/nostrOperations.ts index a6ff778f..9b1dc908 100644 --- a/src/services/wallet/operations/nostrOperations.ts +++ b/src/services/wallet/operations/nostrOperations.ts @@ -238,7 +238,7 @@ const receiveEventsFromRelaysQueue = async function (): Promise { // the pool refires every subscription a relay still holds when it reconnects - // so drop the previous one instead of stacking another REQ on every relay if (_receiveSubscription) { - log.trace('[receiveEventsFromRelays]', 'Closing previous subscription') + log.trace('[receiveEventsFromRelays] Closing previous subscription') _receiveSubscription.close() } @@ -279,7 +279,7 @@ const receiveEventsFromRelaysQueue = async function (): Promise { const connections = pool.listConnectionStatus() for (const relayInstance of relaysStore.allRelays) { const isConnected = connections.get(relayInstance.url) === true - log.trace('[receiveEventsFromRelays]', 'Relay connection status', {relay: relayInstance.url, isConnected}) + log.trace('[receiveEventsFromRelays] Relay connection status', {relay: relayInstance.url, isConnected}) relayInstance.setStatus(isConnected ? WebSocket.OPEN : WebSocket.CLOSED) } },