mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(proxy/_types.py): handle user_email=None
This commit is contained in:
parent
6034187aa5
commit
2d1082f520
3 changed files with 8 additions and 2 deletions
|
@ -1240,4 +1240,5 @@ async def ui_view_users(
|
|||
return [LiteLLM_UserTableFiltered(**user.model_dump()) for user in users]
|
||||
|
||||
except Exception as e:
|
||||
verbose_proxy_logger.exception(f"Error searching users: {str(e)}")
|
||||
raise HTTPException(status_code=500, detail=f"Error searching users: {str(e)}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue