fix: make .exception for detailed error log

This commit is contained in:
Krrish Dholakia 2025-09-27 16:43:53 -07:00
parent 6299f07e54
commit e2ce0aa692

View file

@ -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