Skip to content

Commit

Permalink
modify error log to debug for skipping protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyaprem committed Nov 15, 2023
1 parent 931576f commit 1f244c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/waku/server/rest/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (a *AdminService) getV1Peers(w http.ResponseWriter, req *http.Request) {
}
for _, proto := range peer.Protocols {
if !server.IsWakuProtocol(proto) {
a.log.Error("skipping protocol as it is a non-waku protocol", logging.HostID("peer", peer.ID), zap.String("protocol", string(proto)))
a.log.Debug("skipping protocol as it is a non-waku protocol", logging.HostID("peer", peer.ID), zap.String("protocol", string(proto)))
continue
}
wPeer.Protocols = append(wPeer.Protocols, string(proto))
Expand Down

0 comments on commit 1f244c2

Please sign in to comment.