mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(timeout.py): import errors
This commit is contained in:
parent
5bd6d6ff4c
commit
ab54262d37
2 changed files with 2 additions and 1 deletions
|
@ -285,6 +285,7 @@ def completion(
|
|||
try:
|
||||
completion_response = response.json()
|
||||
except:
|
||||
import traceback
|
||||
raise HuggingfaceError(
|
||||
message=f"Original Response received: {response.text}; Stacktrace: {traceback.format_exc()}", status_code=response.status_code
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue