From e2ce0aa6920f1c9d218b19daba9a1bd3da9fc1c2 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Sat, 27 Sep 2025 16:43:53 -0700 Subject: [PATCH] fix: make .exception for detailed error log --- litellm/proxy/management_endpoints/ui_sso.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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