mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
log startTime and EndTime for exceptions
This commit is contained in:
parent
3aad034a8b
commit
4b8fda4ac4
3 changed files with 6 additions and 0 deletions
|
@ -1263,6 +1263,8 @@ async def _PROXY_failure_handler(
|
|||
exception_type=_exception_type,
|
||||
status_code=_status_code,
|
||||
exception_string=_exception_string,
|
||||
startTime=kwargs.get("start_time"),
|
||||
endTime=kwargs.get("end_time"),
|
||||
)
|
||||
|
||||
# helper function to convert to dict on pydantic v2 & v1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue