Skip to content

Commit

Permalink
update Sentry DSN
Browse files Browse the repository at this point in the history
  • Loading branch information
toufali committed Feb 22, 2024
1 parent 63a5f52 commit 3c53b30
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/initializers/sentry.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# frozen_string_literal: true

Sentry.init do |config|
config.dsn = 'https://def412573e2b44d39e73a130b09bb25a@o1069899.ingest.sentry.io/4506591637471232'
sentry_dsn = ENV.fetch('SENTRY_DSN', nil)

sentry_dsn && Sentry.init do |config|
config.dsn = sentry_dsn
config.breadcrumbs_logger = [:active_support_logger, :http_logger]

# Set traces_sample_rate to 1.0 to capture 100%
Expand Down

0 comments on commit 3c53b30

Please sign in to comment.