Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

linting fix

Ishaan Jaff4db1c7a9a934
diff --git a/litellm/integrations/gcs_pubsub/pub_sub.py b/litellm/integrations/gcs_pubsub/pub_sub.py
index 8acab9fbbd5..e94c853f3ff 100644
--- a/litellm/integrations/gcs_pubsub/pub_sub.py
+++ b/litellm/integrations/gcs_pubsub/pub_sub.py
@@ -200,3 +200,4 @@ class GcsPubSubLogger(CustomBatchLogger):
except Exception as e:
verbose_logger.error("Pub/Sub publish error: %s", str(e))
+ return None