drop warning about failure to open stream to a debug log

This commit is contained in:
Jeromy 2020-06-12 13:08:54 -07:00 committed by vyzo
parent 9a5528b3ec
commit e18b4edd9a

View File

@ -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 {