Sentry работает на локальном, но не работает на сервере

У меня проблемы с sentry, я настроил sentry в моем Django приложении, оно работает нормально и ошибка приходит в sentry UI с localhost, но в том же случае, я запускаю с сервера, оно не работает, и ошибка не приходит в sentry UI.

DEBUG=False
ALLOWED_HOSTS = ["*"]

sentry_sdk.init(
        dsn="https://sentry-url",
    
        integrations=[DjangoIntegration(), CeleryIntegration(), RedisIntegration()],
        # Set traces_sample_rate to 1.0 to capture 100%
        # of transactions for performance monitoring.
        # We recommend adjusting this value in production.
        traces_sample_rate=1.0,
        # If you wish to associate users to errors (assuming you are using
        # django.contrib.auth) you may enable sending PII data.
        send_default_pii=True,
    )
Вернуться на верх