* SENTRY_DSN address in env
This commit is contained in:
parent
00686e9dc4
commit
f14f9d1179
|
|
@ -18,4 +18,7 @@ POIZON_TOKEN=""
|
||||||
CURRENCY_GETGEOIP_API_KEY=""
|
CURRENCY_GETGEOIP_API_KEY=""
|
||||||
|
|
||||||
# Celery & Flower
|
# Celery & Flower
|
||||||
FLOWER_BASIC_AUTH="login:pwd"
|
FLOWER_BASIC_AUTH="login:pwd"
|
||||||
|
|
||||||
|
# Logging
|
||||||
|
SENTRY_DSN=""
|
||||||
|
|
@ -239,8 +239,8 @@ REFERRAL_CODE_LENGTH = 10
|
||||||
COMMISSION_OVER_150K = 1.1
|
COMMISSION_OVER_150K = 1.1
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
SENTRY_DSN = "***REMOVED***"
|
SENTRY_DSN = get_secret("SENTRY_DSN")
|
||||||
if not DEBUG:
|
if SENTRY_DSN:
|
||||||
sentry_sdk.init(
|
sentry_sdk.init(
|
||||||
dsn=SENTRY_DSN,
|
dsn=SENTRY_DSN,
|
||||||
# Set traces_sample_rate to 1.0 to capture 100%
|
# Set traces_sample_rate to 1.0 to capture 100%
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user