fix(user_api_key_auth.py): move warning to debug log

This commit is contained in:
Krrish Dholakia 2024-08-12 10:30:19 -07:00
parent dc8f9e7241
commit 2ed2ae96af

View file

@ -662,7 +662,7 @@ async def user_api_key_auth(
proxy_logging_obj=proxy_logging_obj, proxy_logging_obj=proxy_logging_obj,
) )
except Exception as e: except Exception as e:
verbose_logger.warning( verbose_logger.debug(
"litellm.proxy.auth.user_api_key_auth.py::user_api_key_auth() - Unable to get user from db/cache. Setting user_obj to None. Exception received - {}".format( "litellm.proxy.auth.user_api_key_auth.py::user_api_key_auth() - Unable to get user from db/cache. Setting user_obj to None. Exception received - {}".format(
str(e) str(e)
) )