mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
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
Reference in a new issue