ing
This commit is contained in:
parent
2f3869c451
commit
48c0a9b76b
|
@ -379,10 +379,10 @@ func (c *client) handleResponse(resCodec protocol.ClientResponseCodec) error {
|
||||||
atomic.AddUint32(&c.pendingRequestsCount, ^uint32(0))
|
atomic.AddUint32(&c.pendingRequestsCount, ^uint32(0))
|
||||||
|
|
||||||
if err := resCodec.Result(rs.Result); nil != err {
|
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 {
|
if err := resCodec.Error(); nil != err {
|
||||||
log.Printf("responseHandle:%v", err)
|
logging.Logger().Errorf("responseHandle:%v", err)
|
||||||
// rs.Error = &ClientError{
|
// rs.Error = &ClientError{
|
||||||
// Server: true,
|
// Server: true,
|
||||||
// err: fmt.Errorf("gorpc.Client: [%s]. Server error: [%s]", c.Addr, wr.Error),
|
// err: fmt.Errorf("gorpc.Client: [%s]. Server error: [%s]", c.Addr, wr.Error),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user