diff --git a/litellm/litellm_core_utils/litellm_logging.py b/litellm/litellm_core_utils/litellm_logging.py index de6270454..3b581912e 100644 --- a/litellm/litellm_core_utils/litellm_logging.py +++ b/litellm/litellm_core_utils/litellm_logging.py @@ -2189,6 +2189,8 @@ def _init_custom_logger_compatible_class( f"🚨🚨🚨 Prometheus Metrics is on LiteLLM Enterprise\n🚨 {CommonProxyErrors.not_premium_user.value}" ) return None + else: + return None elif logging_integration == "datadog": for callback in _in_memory_loggers: if isinstance(callback, DataDogLogger):