Skip to content

Commit

Permalink
parametric sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
domdinicola committed Nov 14, 2023
1 parent 4ed3d77 commit 9712f62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/aurora/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,9 @@
level=logging.INFO, # Capture info and above as breadcrumbs
event_level=logging.ERROR, # Send errors as events
)

sentry_sdk.init(
dsn=SENTRY_DSN,
environment="production",
environment=env("SENTRY_ENVIRONMENT", default=None),
integrations=[
DjangoIntegration(transaction_style="url"),
sentry_logging,
Expand Down

0 comments on commit 9712f62

Please sign in to comment.