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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
_handle_llm_api_exception
Ishaan Jaff8689a253967f
diff --git a/litellm/proxy/common_request_processing.py b/litellm/proxy/common_request_processing.pyindex 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