demarches-normaliennes/config/initializers/raven.rb

8 lines
138 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']
end
end