From d827c9c598dcda9f4de815920e2785a9a37967cc Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Tue, 14 Mar 2023 20:02:54 +0800 Subject: [PATCH] log update --- pkg/common/mw/rpc_server_interceptor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/mw/rpc_server_interceptor.go b/pkg/common/mw/rpc_server_interceptor.go index 4ce070026..432797dc2 100644 --- a/pkg/common/mw/rpc_server_interceptor.go +++ b/pkg/common/mw/rpc_server_interceptor.go @@ -71,7 +71,7 @@ func rpcServerInterceptor(ctx context.Context, req interface{}, info *grpc.Unary // grpcStatus = details // } //} - log.ZWarn(ctx, "rpc resp", unwrap, "funcName", funcName) + log.ZWarn(ctx, "rpc resp", err, "funcName", funcName) return nil, grpcStatus.Err() }