forked from phoenix/litellm-mirror
Fix: #4942. Remove verbose logging when exception can be handled
This commit is contained in:
parent
52b1ca292c
commit
452441ae03
1 changed files with 0 additions and 5 deletions
|
@ -413,11 +413,6 @@ async def acompletion(
|
||||||
) # sets the logging event loop if the user does sync streaming (e.g. on proxy for sagemaker calls)
|
) # sets the logging event loop if the user does sync streaming (e.g. on proxy for sagemaker calls)
|
||||||
return response
|
return response
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
verbose_logger.error(
|
|
||||||
"litellm.acompletion(): Exception occured - {}\n{}".format(
|
|
||||||
str(e), traceback.format_exc()
|
|
||||||
)
|
|
||||||
)
|
|
||||||
verbose_logger.debug(traceback.format_exc())
|
verbose_logger.debug(traceback.format_exc())
|
||||||
custom_llm_provider = custom_llm_provider or "openai"
|
custom_llm_provider = custom_llm_provider or "openai"
|
||||||
raise exception_type(
|
raise exception_type(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue