root: fix sentry's being passed incorrectly
This commit is contained in:
parent
f7c629ec9b
commit
9826bb4d01
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -101,4 +101,4 @@ jobs:
|
|||
SENTRY_URL: https://sentry.beryju.org
|
||||
with:
|
||||
tagName: 0.9.0-stable
|
||||
environment: production
|
||||
environment: beryjuorg-prod
|
||||
|
|
|
@ -274,12 +274,14 @@ if not DEBUG and _ERROR_REPORTING:
|
|||
LOGGER.info("Error reporting is enabled.")
|
||||
sentry_init(
|
||||
dsn="https://33cdbcb23f8b436dbe0ee06847410b67@sentry.beryju.org/3",
|
||||
integrations=[DjangoIntegration(), CeleryIntegration()],
|
||||
integrations=[
|
||||
DjangoIntegration(transaction_style="function_name"),
|
||||
CeleryIntegration(),
|
||||
],
|
||||
before_send=before_send,
|
||||
release="passbook@%s" % __version__,
|
||||
traces_sample_rate=1.0,
|
||||
environment=CONFIG.y("error_reporting.environment", "customer"),
|
||||
transaction_style="function_name",
|
||||
send_default_pii=CONFIG.y_bool("error_reporting.send_pii", False),
|
||||
)
|
||||
|
||||
|
|
Reference in a new issue