fix: missing brace

This commit is contained in:
Harshit28j 2026-03-12 08:02:32 +05:30
parent c46371c8cd
commit 41098a86a8

View file

@ -2917,10 +2917,13 @@ class Logging(LiteLLMLoggingBaseClass):
start_time=start_time,
end_time=end_time,
print_verbose=print_verbose,
callback_func=callback,
)
if (
isinstance(callback, CustomLogger)
and is_sync_request
and self.call_type != CallTypes.pass_through.value # pass-through endpoints call async_log_failure_event
and self.call_type
!= CallTypes.pass_through.value # pass-through endpoints call async_log_failure_event
): # custom logger class
callback.log_failure_event(
start_time=start_time,