From 6b732b0cf553e2b3b83b89307d761f2cdd84c201 Mon Sep 17 00:00:00 2001 From: Matthew Keil Date: Thu, 1 Feb 2024 15:34:56 +0700 Subject: [PATCH] fix: log errors setting agent version as debug (#6374) * feat: ignore NotFound error for setting agentVersion * fix: debug log instead of ignore peer not found for setting agentVersion * fix: remove NotFound check and only debug log error setting agentVersion Co-authored-by: Nico Flaig --------- Co-authored-by: Nico Flaig --- packages/beacon-node/src/network/peers/peerManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/beacon-node/src/network/peers/peerManager.ts b/packages/beacon-node/src/network/peers/peerManager.ts index 94af8f06ea0..2275178e13e 100644 --- a/packages/beacon-node/src/network/peers/peerManager.ts +++ b/packages/beacon-node/src/network/peers/peerManager.ts @@ -620,7 +620,7 @@ export class PeerManager { }, {retries: 3, retryDelay: 1000} ).catch((err) => { - this.logger.error("Error setting agentVersion for the peer", {peerId: peerData.peerId.toString()}, err); + this.logger.debug("Error setting agentVersion for the peer", {peerId: peerData.peerId.toString()}, err); }); };