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
fix(common_utils.py): add helpful message
Krrish Dholakia54e71bd0775a
diff --git a/litellm/llms/azure/common_utils.py b/litellm/llms/azure/common_utils.pyindex b36375e4168..7c744298fbd 100644--- a/litellm/llms/azure/common_utils.py+++ b/litellm/llms/azure/common_utils.py@@ -365,6 +365,11 @@ def get_azure_ad_token(azure_ad_token_provider = get_azure_ad_token_provider(azure_scope=scope)except ValueError:verbose_logger.debug("Azure AD Token Provider could not be used.")+ except Exception as e:+ verbose_logger.error(+ f"Error calling Azure AD token provider: {str(e)}. Follow docs - https://docs.litellm.ai/docs/providers/azure/#azure-ad-token-refresh---defaultazurecredential"+ )+ raise e########################################################## If litellm.enable_azure_ad_token_refresh is True and no other token provider is available,