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]

fix: vertex show clear exception on failed refresh (#10969)

Ishaan Jaffaf73a8e3a95c
diff --git a/litellm/llms/vertex_ai/vertex_llm_base.py b/litellm/llms/vertex_ai/vertex_llm_base.py
index 10237ad6bf9..9349fb56da9 100644
--- a/litellm/llms/vertex_ai/vertex_llm_base.py
+++ b/litellm/llms/vertex_ai/vertex_llm_base.py
@@ -312,7 +312,7 @@ class VertexBase:
)
except Exception as e:
verbose_logger.exception(
- "Failed to load vertex credentials. Check to see if credentials containing partial/invalid information."
+ f"Failed to load vertex credentials. Check to see if credentials containing partial/invalid information. Error: {str(e)}"
)
raise e