From 7b25b8fea3bd315f74ea83fe9bf482eaaf3cb581 Mon Sep 17 00:00:00 2001 From: smallnest Date: Thu, 24 Mar 2022 09:52:59 +0800 Subject: [PATCH] fix error log format --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 4f1c9876..cd9eacc9 100644 --- a/client/client.go +++ b/client/client.go @@ -690,7 +690,7 @@ func (client *Client) input() { client.mutex.Unlock() if err != nil && !closing { - log.Error("rpcx: client protocol error:", err) + log.Errorf("rpcx: client protocol error: %v", err) } }