Skip to content

Commit

Permalink
eth: change snapshot extension registration failure to warning instea…
Browse files Browse the repository at this point in the history
…d of error (ethereum#24475)

* core: Change Snapshot extension registration failed to Debug

* Update eth/handler.go

Co-authored-by: Martin Holst Swende <martin@swende.se>
  • Loading branch information
2 people authored and cp-wjhan committed Nov 28, 2022
1 parent b0b2190 commit 809dbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ func (h *handler) runSnapExtension(peer *snap.Peer, handler snap.Handler) error
defer h.peerWG.Done()

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 handler(peer)
Expand Down

0 comments on commit 809dbff

Please sign in to comment.