[ENV] Configure Raven (Sentry)
This commit is contained in:
parent
296e3a9b09
commit
907f48e148
1 changed files with 7 additions and 0 deletions
7
config/initializers/raven.rb
Normal file
7
config/initializers/raven.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
if ENV['SENTRY_ENABLED'] == 'enabled'
|
||||
require 'raven'
|
||||
|
||||
Raven.configure do |config|
|
||||
config.dsn = ENV['SENTRY_DSN_RAILS']
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue