mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-04 22:03:07 +00:00
drop warning about failure to open stream to a debug log
This commit is contained in:
parent
9a5528b3ec
commit
e18b4edd9a
2
comm.go
2
comm.go
@ -71,7 +71,7 @@ func (p *PubSub) handleNewStream(s network.Stream) {
|
||||
func (p *PubSub) handleNewPeer(ctx context.Context, pid peer.ID, outgoing <-chan *RPC) {
|
||||
s, err := p.host.NewStream(p.ctx, pid, p.rt.Protocols()...)
|
||||
if err != nil {
|
||||
log.Warn("opening new stream to peer: ", err, pid)
|
||||
log.Debug("opening new stream to peer: ", err, pid)
|
||||
|
||||
var ch chan peer.ID
|
||||
if err == ms.ErrNotSupported {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user