Skip to content

Commit

Permalink
Merge pull request #1642 from nervosnetwork/develop
Browse files Browse the repository at this point in the history
Deploy to testnet
  • Loading branch information
zmcNotafraid authored Feb 22, 2024
2 parents 7cf4890 + 780f081 commit 4782fb7
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions config/initializers/sentry.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
Sentry.init do |config|
config.dsn = ENV["SENTRY_DSN"]
config.breadcrumbs_logger = [:active_support_logger, :http_logger]

# Set tracesSampleRate to 1.0 to capture 100%
# of transactions for performance monitoring.
# We recommend adjusting this value in production
config.traces_sample_rate = ENV.fetch("SENTRY_SAMPLE_RATE", 1.0).to_f
config.traces_sampler = lambda do |context|
true
end
config.breadcrumbs_logger = %i[active_support_logger http_logger]
config.logger = Logger.new(STDERR)
config.enabled_environments = %w[production staging]
end

0 comments on commit 4782fb7

Please sign in to comment.