demarches-normaliennes/config/initializers/raven.rb
2019-04-03 18:19:16 +02:00

8 lines
190 B
Ruby

if ENV['SENTRY_ENABLED'] == 'enabled'
require 'raven'
Raven.configure do |config|
config.dsn = ENV['SENTRY_DSN_RAILS']
config.environments = ['production', 'staging']
end
end