mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-02-21 20:20:34 +09:00
9 lines
278 B
Ruby
9 lines
278 B
Ruby
if Rails.env.production? && ENV["SKIP_TELEMETRY"].blank?
|
|
Sentry.init do |config|
|
|
config.dsn = ENV["SENTRY_DSN"]
|
|
config.breadcrumbs_logger = [ :active_support_logger, :http_logger ]
|
|
config.send_default_pii = false
|
|
config.release = ENV["GIT_REVISION"]
|
|
end
|
|
end
|