mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Updated sentry modal SDK
Specified default environment for issues
This commit is contained in:
@ -675,7 +675,11 @@ if "test" in sys.argv:
|
||||
|
||||
if SENTRY_DSN:
|
||||
# Connection to sentry
|
||||
sentry_sdk.init(dsn=SENTRY_DSN, integrations=[DjangoIntegration()])
|
||||
sentry_sdk.init(
|
||||
dsn=SENTRY_DSN,
|
||||
integrations=[DjangoIntegration()],
|
||||
environment="production",
|
||||
)
|
||||
|
||||
|
||||
SITH_FRONT_DEP_VERSIONS = {
|
||||
|
Reference in New Issue
Block a user