* Disable Sentry for debug environment
This commit is contained in:
parent
8089947dcb
commit
520d9ebc0e
|
|
@ -201,13 +201,14 @@ COMMISSION_OVER_150K = 1.1
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
SENTRY_DSN = "https://96106e3f938badc86ecb2e502716e496@o4506163299418112.ingest.sentry.io/4506163300663296"
|
SENTRY_DSN = "https://96106e3f938badc86ecb2e502716e496@o4506163299418112.ingest.sentry.io/4506163300663296"
|
||||||
sentry_sdk.init(
|
if not DEBUG:
|
||||||
dsn=SENTRY_DSN,
|
sentry_sdk.init(
|
||||||
# Set traces_sample_rate to 1.0 to capture 100%
|
dsn=SENTRY_DSN,
|
||||||
# of transactions for performance monitoring.
|
# Set traces_sample_rate to 1.0 to capture 100%
|
||||||
traces_sample_rate=1.0,
|
# of transactions for performance monitoring.
|
||||||
# Set profiles_sample_rate to 1.0 to profile 100%
|
traces_sample_rate=1.0,
|
||||||
# of sampled transactions.
|
# Set profiles_sample_rate to 1.0 to profile 100%
|
||||||
# We recommend adjusting this value in production.
|
# of sampled transactions.
|
||||||
profiles_sample_rate=1.0,
|
# We recommend adjusting this value in production.
|
||||||
)
|
profiles_sample_rate=1.0,
|
||||||
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user