demarches-normaliennes/config/initializers/raven.rb
2018-08-23 15:55:32 +02:00

7 lines
138 B
Ruby

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