forked from phoenix/litellm-mirror
Merge pull request #5570 from BerriAI/litellm_fix_datadog
[Fix-Datdog Logger] Log exceptions when callbacks faces an error
This commit is contained in:
commit
42f56e4287
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ class DataDogLogger:
|
|||
f"Datadog Layer Logging - final response object: {response_obj}"
|
||||
)
|
||||
except Exception as e:
|
||||
verbose_logger.debug(
|
||||
verbose_logger.exception(
|
||||
f"Datadog Layer Error - {str(e)}\n{traceback.format_exc()}"
|
||||
)
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue