From 41098a86a8b65425b099e07064e7f01fbbf9282e Mon Sep 17 00:00:00 2001 From: Harshit28j Date: Thu, 12 Mar 2026 08:02:32 +0530 Subject: [PATCH] fix: missing brace --- litellm/litellm_core_utils/litellm_logging.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/litellm/litellm_core_utils/litellm_logging.py b/litellm/litellm_core_utils/litellm_logging.py index 4b180b0d9ed..6f2d8f531b5 100644 --- a/litellm/litellm_core_utils/litellm_logging.py +++ b/litellm/litellm_core_utils/litellm_logging.py @@ -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,