forked from phoenix/litellm-mirror
(fix) show error in test_keys
This commit is contained in:
parent
bfe2faa454
commit
419bddae93
1 changed files with 3 additions and 1 deletions
|
@ -234,7 +234,9 @@ async def get_key_info(session, call_key, get_key=None):
|
|||
return status
|
||||
else:
|
||||
print(f"call_key: {call_key}; get_key: {get_key}")
|
||||
raise Exception(f"Request did not return a 200 status code: {status}")
|
||||
raise Exception(
|
||||
f"Request did not return a 200 status code: {status}. Responses {response_text}"
|
||||
)
|
||||
return await response.json()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue