Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

_handle_llm_api_exception

Ishaan Jaff8689a253967f
diff --git a/litellm/proxy/common_request_processing.py b/litellm/proxy/common_request_processing.py
index 00613e5d765..02663f45553 100644
--- a/litellm/proxy/common_request_processing.py
+++ b/litellm/proxy/common_request_processing.py
@@ -291,7 +291,7 @@ class ProxyBaseLLMRequestProcessing:
):
"""Raises ProxyException (OpenAI API compatible) if an exception is raised"""
verbose_proxy_logger.exception(
- f"litellm.proxy.proxy_server.chat_completion(): Exception occured - {str(e)}"
+ f"litellm.proxy.proxy_server._handle_llm_api_exception(): Exception occured - {str(e)}"
)
await proxy_logging_obj.post_call_failure_hook(
user_api_key_dict=user_api_key_dict, original_exception=e, request_data=data