Procházet zdrojové kódy

Fix #15992: Removed integrations for sentry-sdk

According to the Sentry Python SDK documentation setting the
integrations manually is only needed when the integration configuration
needs to be changed.

See: https://docs.sentry.io/platforms/python/integrations/django/#options
Tobias Genannt před 1 rokem
rodič
revize
b4486b4d30
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      netbox/netbox/settings.py

+ 0 - 1
netbox/netbox/settings.py

@@ -522,7 +522,6 @@ if SENTRY_ENABLED:
     sentry_sdk.init(
     sentry_sdk.init(
         dsn=SENTRY_DSN,
         dsn=SENTRY_DSN,
         release=VERSION,
         release=VERSION,
-        integrations=[sentry_sdk.integrations.django.DjangoIntegration()],
         sample_rate=SENTRY_SAMPLE_RATE,
         sample_rate=SENTRY_SAMPLE_RATE,
         traces_sample_rate=SENTRY_TRACES_SAMPLE_RATE,
         traces_sample_rate=SENTRY_TRACES_SAMPLE_RATE,
         send_default_pii=True,
         send_default_pii=True,