mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
refactor(proxy_server.py): print statement showing how to add debug for logs
This commit is contained in:
parent
6c4816e214
commit
4e1885734a
8 changed files with 76 additions and 207 deletions
|
@ -2757,10 +2757,11 @@ def exception_type(
|
|||
):
|
||||
global user_logger_fn, liteDebuggerClient
|
||||
exception_mapping_worked = False
|
||||
print()
|
||||
print("\033[1;31mGive Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new\033[0m")
|
||||
print("LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.")
|
||||
print()
|
||||
if litellm.suppress_debug_info is False:
|
||||
print()
|
||||
print("\033[1;31mGive Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new\033[0m")
|
||||
print("LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.")
|
||||
print()
|
||||
try:
|
||||
if isinstance(original_exception, OriginalError):
|
||||
# Handle the OpenAIError
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue