From 63cfef43e4d1d2efc1d6a82ad273a53325b7b894 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 5 May 2021 22:33:02 +0200 Subject: [PATCH] Sentry: Fix environment names --- src/pretix/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/settings.py b/src/pretix/settings.py index 454ca17b7a..1229a08fae 100644 --- a/src/pretix/settings.py +++ b/src/pretix/settings.py @@ -722,7 +722,7 @@ if config.has_option('sentry', 'dsn') and not any(c in sys.argv for c in ('shell event_level=logging.CRITICAL ) ], - environment=SITE_URL, + environment=urlparse(SITE_URL).netloc, release=__version__, send_default_pii=False, )