[ENV] Configure Raven (Sentry)

This commit is contained in:
Mathieu Magnin 2018-03-16 10:38:00 +01:00 committed by Paul Chavard
parent 296e3a9b09
commit 907f48e148

View file

@ -0,0 +1,7 @@
if ENV['SENTRY_ENABLED'] == 'enabled'
require 'raven'
Raven.configure do |config|
config.dsn = ENV['SENTRY_DSN_RAILS']
end
end