From e8233a684040fb2892100eed8fda41b8edb18055 Mon Sep 17 00:00:00 2001 From: boyce Date: Wed, 10 Mar 2021 18:23:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=A5=E5=BF=97=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rpc/rpchandler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/rpchandler.go b/rpc/rpchandler.go index 7b895c9..476a0eb 100644 --- a/rpc/rpchandler.go +++ b/rpc/rpchandler.go @@ -341,11 +341,11 @@ func (handler *RpcHandler) goRpc(processor IRpcProcessor,bCast bool,nodeId int,s var pClientList [maxClusterNode]*Client err,count := handler.funcRpcClient(nodeId,serviceMethod,pClientList[:]) if count==0||err != nil { - log.Error("Call serviceMethod is error:%+v!",err) + log.Error("Call %s is error:%+v!",serviceMethod,err) return err } if count > 1 && bCast == false{ - log.Error("Cannot call more then 1 node!") + log.Error("Cannot call %s more then 1 node!",serviceMethod) return fmt.Errorf("Cannot call more then 1 node!") }