Chatwoot/config/initializers/sentry.rb
2021-08-25 01:04:29 +05:30

6 lines
149 B
Ruby

if ENV['SENTRY_DSN']
Sentry.init do |config|
config.dsn = ENV['SENTRY_DSN']
config.enabled_environments = %w[staging production]
end
end