mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
refactor(proxy_server.py): more debug statements
This commit is contained in:
parent
6c8cc33d02
commit
ef8f1acfa4
1 changed files with 2 additions and 1 deletions
|
@ -292,7 +292,8 @@ async def user_api_key_auth(
|
||||||
else:
|
else:
|
||||||
raise Exception(f"Invalid token")
|
raise Exception(f"Invalid token")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print_verbose(f"An exception occurred - {traceback.format_exc()}")
|
# print_verbose(f"An exception occurred - {traceback.format_exc()}")
|
||||||
|
traceback.print_exc()
|
||||||
if isinstance(e, HTTPException):
|
if isinstance(e, HTTPException):
|
||||||
raise e
|
raise e
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue