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']
|
2019-04-03 12:13:34 +02:00
|
|
|
config.environments = ['production', 'staging']
|
2018-03-16 10:38:00 +01:00
|
|
|
end
|
|
|
|
end
|