diff options
author | 2021-03-15 02:31:03 +0300 | |
---|---|---|
committer | 2021-03-15 02:31:03 +0300 | |
commit | 756108345c27363788479edd104e1688ca675db5 (patch) | |
tree | 56e305ae50bbe1a04b0654340ac3038bc8bac006 /backend | |
parent | Merge pull request #70 from python-discord/dependabot/pip/deepmerge-0.2.1 (diff) | |
parent | Merge branch 'main' into dependabot/pip/sentry-sdk-0.20.3 (diff) |
Merge pull request #61 from python-discord/dependabot/pip/sentry-sdk-0.20.3
Bump sentry-sdk from 0.19.5 to 0.20.3
Diffstat (limited to 'backend')
-rw-r--r-- | backend/__init__.py | 4 |
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 = [ |