mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Sentry: Fix environment names
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user