Skip to content

Commit

Permalink
Merge pull request #479 from csvalpha/hotfix/sentry
Browse files Browse the repository at this point in the history
Hotfix/sentry
  • Loading branch information
Matthijsy authored May 28, 2020
2 parents cd7fa5e + 5f8d93d commit d4fab53
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config/initializers/sentry.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Raven.configure do |config|
# config.dsn = Rails.application.config.x.sentry_dsn
# config.environments = %w[production staging]
# config.current_environment = Rails.env
# config.async = lambda { |event|
# SentryJob.perform_later(event)
# }
# config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s)
config.dsn = Rails.application.config.x.sentry_dsn
config.environments = %w[production staging]
config.current_environment = Rails.env
config.async = lambda { |event|
SentryJob.perform_later(event)
}
config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s)
end

0 comments on commit d4fab53

Please sign in to comment.