mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 05:08:30 -05:00
12 lines
266 B
Ruby
12 lines
266 B
Ruby
# frozen_string_literal: true
|
|
|
|
return unless SENTRY_DSN
|
|
|
|
Sentry.init do |config|
|
|
config.breadcrumbs_logger = [:active_support_logger]
|
|
config.dsn = SENTRY_DSN
|
|
config.traces_sample_rate = 1.0
|
|
config.profiles_sample_rate = 1.0
|
|
# config.enable_logs = true
|
|
end
|