change log error

This commit is contained in:
wangchuxiao 2023-07-06 11:14:50 +08:00
parent a3e3dc03c9
commit 28fad04d5c

View File

@ -145,7 +145,7 @@ func RpcServerInterceptor(ctx context.Context, req interface{}, info *grpc.Unary
}
details, err := grpcStatus.WithDetails(errInfo)
if err != nil {
log.ZWarn(ctx, "rpc server resp", err, "funcName", funcName)
log.ZWarn(ctx, "rpc server resp WithDetails error", err, "funcName", funcName)
return nil, errs.Wrap(err)
}
log.ZWarn(ctx, "rpc server resp", err, "funcName", funcName)