aboutsummaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/__init__.py b/backend/__init__.py
index 220b457..dcbdcdf 100644
--- a/backend/__init__.py
+++ b/backend/__init__.py
@@ -22,10 +22,12 @@ if not constants.PRODUCTION:
ALLOW_ORIGIN_REGEX = "|".join(ORIGINS)
+SENTRY_RELEASE = f"forms-backend@{constants.GIT_SHA}"
sentry_sdk.init(
dsn=constants.FORMS_BACKEND_DSN,
send_default_pii=True,
- release=f"forms-backend@{constants.GIT_SHA}"
+ release=SENTRY_RELEASE,
+ environment=SENTRY_RELEASE
)
middleware = [