Skip to content

Instantly share code, notes, and snippets.

@SeriouslyAwesome
Created September 13, 2018 18:06
Show Gist options
  • Save SeriouslyAwesome/3980c43926d8461a97d41e8502ae1e13 to your computer and use it in GitHub Desktop.
Save SeriouslyAwesome/3980c43926d8461a97d41e8502ae1e13 to your computer and use it in GitHub Desktop.
Raven.configure do |config|
config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s)
config.dsn = ENV['SENTRY_DSN'] unless Rails.env.development? || Rails.env.test?
config.environments = %w(sandbox staging demo production)
config.silence_ready = true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment