Commit c14ec1c4 authored by Jeromy's avatar Jeromy
Browse files

change listener errors to warnings

parent 8d928334
...@@ -126,7 +126,7 @@ func (s *Swarm) addConnListener(list conn.Listener) error { ...@@ -126,7 +126,7 @@ func (s *Swarm) addConnListener(list conn.Listener) error {
if !more { if !more {
return return
} }
log.Errorf("swarm listener accept error: %s", err) log.Warningf("swarm listener accept error: %s", err)
case <-ctx.Done(): case <-ctx.Done():
return return
} }
......
...@@ -134,4 +134,4 @@ ...@@ -134,4 +134,4 @@
"gx": { "gx": {
"dvcsimport": "github.com/ipfs/go-libp2p" "dvcsimport": "github.com/ipfs/go-libp2p"
} }
} }
\ No newline at end of file
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