mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-09 08:13:10 +00:00
dont error on new stream failure
This commit is contained in:
parent
4a45077e91
commit
21401b8475
@ -20,7 +20,7 @@ func (p *PubSubNotif) ClosedStream(n inet.Network, s inet.Stream) {
|
||||
func (p *PubSubNotif) Connected(n inet.Network, c inet.Conn) {
|
||||
s, err := p.host.NewStream(context.Background(), c.RemotePeer(), ID)
|
||||
if err != nil {
|
||||
log.Error("opening new stream to peer: ", err, c.LocalPeer(), c.RemotePeer())
|
||||
log.Warning("opening new stream to peer: ", err, c.LocalPeer(), c.RemotePeer())
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user