From 21401b847520a956fae606925111eaf636d5b739 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Tue, 13 Sep 2016 09:38:07 -0700 Subject: [PATCH] dont error on new stream failure --- notify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notify.go b/notify.go index e91c7e0..3206ef0 100644 --- a/notify.go +++ b/notify.go @@ -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 }