diff --git a/pkg/common/mw/rpc_server_interceptor.go b/pkg/common/mw/rpc_server_interceptor.go index 78b98681a..8cc08970b 100644 --- a/pkg/common/mw/rpc_server_interceptor.go +++ b/pkg/common/mw/rpc_server_interceptor.go @@ -72,7 +72,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() }