Unverified Commit 7c22c117 authored by Steven Allen's avatar Steven Allen Committed by GitHub
Browse files

Merge pull request #360 from libp2p/nit/errors

reduce error to warning and log the error
parents a3b4e29a b4428fda
......@@ -255,7 +255,7 @@ func (ids *IDService) consumeReceivedPubKey(c inet.Conn, kb []byte) {
newKey, err := ic.UnmarshalPublicKey(kb)
if err != nil {
log.Errorf("%s cannot unmarshal key from remote peer: %s", lp, rp)
log.Warningf("%s cannot unmarshal key from remote peer: %s, %s", lp, rp, err)
return
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment