Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🔇(backend) downgrade marketing exceptions from error to warning level

lebaudantoineb7dfafaf4764
diff --git a/src/backend/core/services/marketing.py b/src/backend/core/services/marketing.py
index 27243a3f..88439c96 100644
--- a/src/backend/core/services/marketing.py
+++ b/src/backend/core/services/marketing.py
@@ -122,7 +122,7 @@ class BrevoMarketingService:
try:
response = contact_api.create_contact(contact, **api_configurations)
except (brevo_python.rest.ApiException, requests.exceptions.ReadTimeout) as err:
- logger.exception("Failed to create contact in Brevo")
+ logger.warning("Failed to create contact in Brevo", exc_info=True)
raise ContactCreationError("Failed to create contact in Brevo") from err
return response