Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
7c22c117
Unverified
Commit
7c22c117
authored
Jun 15, 2018
by
Steven Allen
Committed by
GitHub
Jun 15, 2018
Browse files
Merge pull request #360 from libp2p/nit/errors
reduce error to warning and log the error
parents
a3b4e29a
b4428fda
Changes
1
Hide whitespace changes
Inline
Side-by-side
p2p/protocol/identify/id.go
View file @
7c22c117
...
...
@@ -255,7 +255,7 @@ func (ids *IDService) consumeReceivedPubKey(c inet.Conn, kb []byte) {
newKey
,
err
:=
ic
.
UnmarshalPublicKey
(
kb
)
if
err
!=
nil
{
log
.
Error
f
(
"%s cannot unmarshal key from remote peer: %s"
,
lp
,
rp
)
log
.
Warning
f
(
"%s cannot unmarshal key from remote peer:
%s,
%s"
,
lp
,
rp
,
err
)
return
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment