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: make .exception for detailed error log

Krrish Dholakiae2ce0aa6920f
diff --git a/litellm/proxy/management_endpoints/ui_sso.py b/litellm/proxy/management_endpoints/ui_sso.py
index 59227aa5e76..88ce25a6fcc 100644
--- a/litellm/proxy/management_endpoints/ui_sso.py
+++ b/litellm/proxy/management_endpoints/ui_sso.py
@@ -1189,7 +1189,9 @@ class SSOAuthenticationHandler:
)
return user_info
except Exception as e:
- verbose_proxy_logger.error(f"Error upserting SSO user into LiteLLM DB: {e}")
+ verbose_proxy_logger.exception(
+ f"Error upserting SSO user into LiteLLM DB: {e}"
+ )
return user_info
@staticmethod