sentry token

This commit is contained in:
Administrator
2022-08-12 19:52:12 +03:00
parent f2593ca5b2
commit ab75fb3a24
2 changed files with 13 additions and 1 deletions

View File

@@ -167,7 +167,7 @@ CONSTS = {
if not DEBUG:
sentry_sdk.init(
dsn="https://bd56bba96dbe4017a792810a8be6cfc1@o1155463.ingest.sentry.io/6235928",
dsn=f"https://{os.getenv('SENTRY_TOKEN')}@o1155463.ingest.sentry.io/6235928",
integrations=[DjangoIntegration()],
# Set traces_sample_rate to 1.0 to capture 100%