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
c14ec1c4
Commit
c14ec1c4
authored
Feb 13, 2016
by
Jeromy
Browse files
change listener errors to warnings
parent
8d928334
Changes
2
Show whitespace changes
Inline
Side-by-side
p2p/net/swarm/swarm_listen.go
View file @
c14ec1c4
...
@@ -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
.
Error
f
(
"swarm listener accept error: %s"
,
err
)
log
.
Warning
f
(
"swarm listener accept error: %s"
,
err
)
case
<-
ctx
.
Done
()
:
case
<-
ctx
.
Done
()
:
return
return
}
}
...
...
package.json
View file @
c14ec1c4
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