Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Enable Celery integration in Sentry
Patryk Zawadzkib224de87c6b8
diff --git a/saleor/settings.py b/saleor/settings.pyindex 4889116baf..8b836b7a0a 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -10,6 +10,7 @@ import sentry_sdkfrom django.core.exceptions import ImproperlyConfiguredfrom django.core.management.utils import get_random_secret_keyfrom django_prices.utils.formatting import get_currency_fraction+from sentry_sdk.integrations.celery import CeleryIntegrationfrom sentry_sdk.integrations.django import DjangoIntegration@@ -498,7 +499,9 @@ DEFAULT_MENUS = {"top_menu_name": "navbar", "bottom_menu_name": "footer"}# SentrySENTRY_DSN = os.environ.get("SENTRY_DSN")if SENTRY_DSN:- sentry_sdk.init(dsn=SENTRY_DSN, integrations=[DjangoIntegration()])+ sentry_sdk.init(+ dsn=SENTRY_DSN, integrations=[CeleryIntegration(), DjangoIntegration()]+ )GRAPHENE = {"RELAY_CONNECTION_ENFORCE_FIRST_OR_LAST": True,