eth: change snapshot extension registration failure to warning instead of error (#24475)

* core: Change Snapshot extension registration failed to Debug

* Update eth/handler.go

Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
Nic Jansma 2022-03-30 04:28:27 -04:00 committed by GitHub
parent 8cacb42278
commit 127dc5982e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -474,7 +474,7 @@ func (h *handler) runSnapExtension(peer *snap.Peer, handler snap.Handler) error
defer h.peerWG.Done() defer h.peerWG.Done()
if err := h.peers.registerSnapExtension(peer); err != nil { if err := h.peers.registerSnapExtension(peer); err != nil {
peer.Log().Error("Snapshot extension registration failed", "err", err) peer.Log().Warn("Snapshot extension registration failed", "err", err)
return err return err
} }
return handler(peer) return handler(peer)