demarches-normaliennes/config/initializers/raven.rb

9 lines
190 B
Ruby
Raw Normal View History

2018-03-16 10:38:00 +01:00
if ENV['SENTRY_ENABLED'] == 'enabled'
require 'raven'
Raven.configure do |config|
config.dsn = ENV['SENTRY_DSN_RAILS']
config.environments = ['production', 'staging']
2018-03-16 10:38:00 +01:00
end
end