code: def log_exception(request: pb.Request, exc_info: ExcInfoType) -> None:
      # gRPC will always send a POST request.
      logger.error(
          "Exception on /%s [POST]", request.api_name, exc_info=exc_info
      )
  
file_path: BentoML/src/bentoml/_internal/server/grpc/servicer/v1alpha1/__init__.py
imports: from __future__ import annotations
  import logging
  import sys
  from typing import TYPE_CHECKING
  import anyio
  from ......exceptions import BentoMLException
  from ......exceptions import InvalidArgument
  from ......grpc.utils import grpc_status_code
  from ......grpc.utils import import_generated_stubs
  from ......grpc.utils import import_grpc
  from ......grpc.utils import validate_proto_fields
  from .....utils import is_async_callable
label_desc: Use image node_id 1 for calling a global function with example usage: log_exception(request, exc_info) without return types