mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-02 02:11:58 +00:00
Fix typo in internal_user_endpoints.py
This commit is contained in:
parent
b9bedc8153
commit
0b0827e786
1 changed files with 7 additions and 7 deletions
|
|
@ -264,7 +264,7 @@ async def _add_user_to_team(
|
|||
)
|
||||
else:
|
||||
verbose_proxy_logger.debug(
|
||||
"litellm.proxy.management_endpoints.internal_user_endpoints.new_user(): Exception occured - {}".format(
|
||||
"litellm.proxy.management_endpoints.internal_user_endpoints.new_user(): Exception occurred - {}".format(
|
||||
str(e)
|
||||
)
|
||||
)
|
||||
|
|
@ -523,7 +523,7 @@ async def new_user(
|
|||
return new_user_response
|
||||
except Exception as e:
|
||||
verbose_proxy_logger.exception(
|
||||
"/user/new: Exception occured - {}".format(str(e))
|
||||
"/user/new: Exception occurred - {}".format(str(e))
|
||||
)
|
||||
raise handle_exception_on_proxy(e)
|
||||
|
||||
|
|
@ -783,7 +783,7 @@ async def user_info( # noqa: PLR0915
|
|||
return response_data
|
||||
except Exception as e:
|
||||
verbose_proxy_logger.exception(
|
||||
"litellm.proxy.proxy_server.user_info(): Exception occured - {}".format(
|
||||
"litellm.proxy.proxy_server.user_info(): Exception occurred - {}".format(
|
||||
str(e)
|
||||
)
|
||||
)
|
||||
|
|
@ -943,7 +943,7 @@ async def user_info_v2(
|
|||
)
|
||||
except Exception as e:
|
||||
verbose_proxy_logger.exception(
|
||||
"litellm.proxy.proxy_server.user_info_v2(): Exception occured - {}".format(
|
||||
"litellm.proxy.proxy_server.user_info_v2(): Exception occurred - {}".format(
|
||||
str(e)
|
||||
)
|
||||
)
|
||||
|
|
@ -1377,7 +1377,7 @@ async def user_update(
|
|||
return response
|
||||
except Exception as e:
|
||||
verbose_proxy_logger.exception(
|
||||
"litellm.proxy.proxy_server.user_update(): Exception occured - {}".format(
|
||||
"litellm.proxy.proxy_server.user_update(): Exception occurred - {}".format(
|
||||
str(e)
|
||||
)
|
||||
)
|
||||
|
|
@ -2612,7 +2612,7 @@ async def get_user_daily_activity(
|
|||
raise
|
||||
except Exception as e:
|
||||
verbose_proxy_logger.exception(
|
||||
"/spend/daily/analytics: Exception occured - {}".format(str(e))
|
||||
"/spend/daily/analytics: Exception occurred - {}".format(str(e))
|
||||
)
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
||||
|
|
@ -2707,7 +2707,7 @@ async def get_user_daily_activity_aggregated(
|
|||
raise
|
||||
except Exception as e:
|
||||
verbose_proxy_logger.exception(
|
||||
"/user/daily/activity/aggregated: Exception occured - {}".format(str(e))
|
||||
"/user/daily/activity/aggregated: Exception occurred - {}".format(str(e))
|
||||
)
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue