Created
September 13, 2018 18:06
-
-
Save SeriouslyAwesome/3980c43926d8461a97d41e8502ae1e13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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