This commit is contained in:
crusader 2018-03-23 01:00:11 +09:00
parent 2f3869c451
commit 48c0a9b76b

View File

@ -379,10 +379,10 @@ func (c *client) handleResponse(resCodec protocol.ClientResponseCodec) error {
atomic.AddUint32(&c.pendingRequestsCount, ^uint32(0))
if err := resCodec.Result(rs.Result); nil != err {
log.Printf("responseHandle:%v", err)
logging.Logger().Errorf("responseHandle:%v", err)
}
if err := resCodec.Error(); nil != err {
log.Printf("responseHandle:%v", err)
logging.Logger().Errorf("responseHandle:%v", err)
// rs.Error = &ClientError{
// Server: true,
// err: fmt.Errorf("gorpc.Client: [%s]. Server error: [%s]", c.Addr, wr.Error),