Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and configure Sentry #5

Open
mcmire opened this issue Dec 17, 2016 · 0 comments
Open

Add and configure Sentry #5

mcmire opened this issue Dec 17, 2016 · 0 comments
Projects

Comments

@mcmire
Copy link
Contributor

mcmire commented Dec 17, 2016

  • Don't pass things like passwords to Sentry
  • Only record exceptions in production
  • Add SENTRY_DSN to .env.example
Raven.configure do |config|
  config.sanitize_fields =
    Rails.application.config.filter_parameters.map(&:to_s)
  config.environments = ["staging", "production"]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant