log startTime and EndTime for exceptions

This commit is contained in:
Ishaan Jaff 2024-04-30 13:34:14 -07:00
parent 3aad034a8b
commit 4b8fda4ac4
3 changed files with 6 additions and 0 deletions

View file

@ -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