ing
This commit is contained in:
parent
8bc880be32
commit
f8066ca9e4
|
@ -278,6 +278,11 @@ func (c *client) rpcWriter(stopChan <-chan struct{}, writerDone chan<- error) {
|
||||||
cs.Done()
|
cs.Done()
|
||||||
}
|
}
|
||||||
if nil != err {
|
if nil != err {
|
||||||
|
if err == io.ErrUnexpectedEOF || err == io.EOF {
|
||||||
|
logging.Logger().Info("Client: disconnected from server")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
err = fmt.Errorf("Client: Cannot send request to wire: [%s]", err)
|
err = fmt.Errorf("Client: Cannot send request to wire: [%s]", err)
|
||||||
logging.Logger().Error(err.Error())
|
logging.Logger().Error(err.Error())
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue
Block a user