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 jagdeep sidhu committed Apr 3, 2022
1 parent 1c7670d commit 6bfa528
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 @@ -482,7 +482,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 6bfa528

Please sign in to comment.