* Disable Sentry for debug environment

This commit is contained in:
Phil Zhitnikov 2023-11-09 17:19:18 +04:00
parent 8089947dcb
commit 520d9ebc0e

View File

@ -201,6 +201,7 @@ COMMISSION_OVER_150K = 1.1
# Logging
SENTRY_DSN = "https://96106e3f938badc86ecb2e502716e496@o4506163299418112.ingest.sentry.io/4506163300663296"
if not DEBUG:
sentry_sdk.init(
dsn=SENTRY_DSN,
# Set traces_sample_rate to 1.0 to capture 100%