From 48c0a9b76b56dc5bafe914244acd1ba797c463ed Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 23 Mar 2018 01:00:11 +0900 Subject: [PATCH] ing --- client/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client.go b/client/client.go index d04eb58..e933c8b 100644 --- a/client/client.go +++ b/client/client.go @@ -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),