diff --git a/core/templates/core/500.jinja b/core/templates/core/500.jinja index d9abc1a6..eecc5e6c 100644 --- a/core/templates/core/500.jinja +++ b/core/templates/core/500.jinja @@ -1,7 +1,11 @@ {% extends "core/base.jinja" %} {% block head %} {{ super() }} - + {% endblock head %} {% block content %} diff --git a/sith/settings.py b/sith/settings.py index 37d00a00..5b292536 100644 --- a/sith/settings.py +++ b/sith/settings.py @@ -675,7 +675,11 @@ if "test" in sys.argv: if SENTRY_DSN: # Connection to sentry - sentry_sdk.init(dsn=SENTRY_DSN, integrations=[DjangoIntegration()]) + sentry_sdk.init( + dsn=SENTRY_DSN, + integrations=[DjangoIntegration()], + environment="production", + ) SITH_FRONT_DEP_VERSIONS = {