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 (#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 unclezoro committed Sep 21, 2022
1 parent 3b4c683 commit c54fd7f
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 @@ -493,7 +493,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 c54fd7f

Please sign in to comment.