Commit 0bef0c74 authored by Jakub Sztandera's avatar Jakub Sztandera Committed by GitHub
Browse files

Merge pull request #232 from libp2p/fix/log-message

basic_host: fix warning message
parents 7cb4b748 ecb14089
...@@ -255,7 +255,7 @@ func (h *BasicHost) newStreamHandler(s inet.Stream) { ...@@ -255,7 +255,7 @@ func (h *BasicHost) newStreamHandler(s inet.Stream) {
} }
logf("protocol EOF: %s (took %s)", s.Conn().RemotePeer(), took) logf("protocol EOF: %s (took %s)", s.Conn().RemotePeer(), took)
} else { } else {
log.Warning("protocol mux failed: %s (took %s)", err, took) log.Warningf("protocol mux failed: %s (took %s)", err, took)
} }
s.Reset() s.Reset()
return 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