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
0d0ba8ae
Commit
0d0ba8ae
authored
Apr 11, 2015
by
Jeromy
Browse files
log listeners dying as at least a warning
parent
9dbbe6db
Changes
1
Show whitespace changes
Inline
Side-by-side
net/swarm/swarm_listen.go
View file @
0d0ba8ae
...
@@ -105,7 +105,7 @@ func (s *Swarm) setupListener(maddr ma.Multiaddr) error {
...
@@ -105,7 +105,7 @@ func (s *Swarm) setupListener(maddr ma.Multiaddr) error {
if
!
more
{
if
!
more
{
return
return
}
}
log
.
Debu
gf
(
"swarm listener accept error: %s"
,
err
)
log
.
Warnin
gf
(
"swarm listener accept error: %s"
,
err
)
case
<-
ctx
.
Done
()
:
case
<-
ctx
.
Done
()
:
return
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