if ENV["SENTRY_DSN"].present? Sentry.init do |config| config.dsn = ENV["SENTRY_DSN"] config.breadcrumbs_logger = [:active_support_logger, :http_logger] config.traces_sampler = lambda do |context| true end end end