Only enable Raven in production environment
This commit is contained in:
parent
cf9c1ee7f3
commit
f45c5bbe8b
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
Raven.configure do |config|
|
||||
config.environments = %i[production]
|
||||
config.dsn = Rails.application.credentials.raven_dsn
|
||||
config.sanitize_fields = Partynest::Application::FILTER_PARAMS.map(&:to_s)
|
||||
end
|
||||
|
|
Reference in a new issue