From 7b018c8aa12e23e759297c2d1cb78b4f09033b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Wo=C5=BAniak?= <17177420+wozniakpl@users.noreply.github.com> Date: Tue, 16 Apr 2024 14:08:43 +0200 Subject: [PATCH] feat: Allow to set sentry environment via env var SENTRY_ENVIRONMENT --- kobo/settings/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kobo/settings/base.py b/kobo/settings/base.py index 1a68721d98..b293bafb92 100644 --- a/kobo/settings/base.py +++ b/kobo/settings/base.py @@ -1193,6 +1193,7 @@ def dj_stripe_request_callback_method(): sentry_logging ], traces_sample_rate=env.float('SENTRY_TRACES_SAMPLE_RATE', 0.01), + environment=env.str('SENTRY_ENVIRONMENT', 'production'), send_default_pii=True )