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!") }