Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
542bb5b32e |
@@ -435,7 +435,7 @@ func (p *Peer) startProtocols(writeStart <-chan struct{}, writeErr chan<- error)
|
|||||||
p.log.Trace(fmt.Sprintf("Protocol %s/%d returned", proto.Name, proto.Version))
|
p.log.Trace(fmt.Sprintf("Protocol %s/%d returned", proto.Name, proto.Version))
|
||||||
err = errProtocolReturned
|
err = errProtocolReturned
|
||||||
} else if !errors.Is(err, io.EOF) {
|
} else if !errors.Is(err, io.EOF) {
|
||||||
p.log.Warn(fmt.Sprintf("Protocol %s/%d failed", proto.Name, proto.Version), "err", err)
|
p.log.Trace(fmt.Sprintf("Protocol %s/%d failed", proto.Name, proto.Version), "err", err)
|
||||||
}
|
}
|
||||||
p.protoErr <- err
|
p.protoErr <- err
|
||||||
}()
|
}()
|
||||||
|
|||||||
Reference in New Issue
Block a user