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 iquidus committed Mar 30, 2023
1 parent 8754fd9 commit ba040ba
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 @@ -437,7 +437,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 ba040ba

Please sign in to comment.