Skip to content

Commit

Permalink
nit: add error log
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-98 committed Sep 19, 2023
1 parent 70f636b commit f65a59e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions waku/v2/rendezvous/rendezvous.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ func (r *Rendezvous) DiscoverWithNamespace(ctx context.Context, namespace string
PubSubTopics: []string{namespace},
}
if !r.PushToChan(peer) {
r.log.Error("could push to closed channel/context completed")
return
}
}
Expand Down

0 comments on commit f65a59e

Please sign in to comment.