Sha256: 578fafbfecdfb40878f37c01daedeb5e36bedaf0da511fef925849a765df52e3
Contents?: true
Size: 674 Bytes
Versions: 1
Compression:
Stored size: 674 Bytes
Contents
# frozen_string_literal: true module Sentry class Configuration attr_reader :sidekiq add_post_initialization_callback do @sidekiq = Sentry::Sidekiq::Configuration.new @excluded_exceptions = @excluded_exceptions.concat(Sentry::Sidekiq::IGNORE_DEFAULT) end end module Sidekiq IGNORE_DEFAULT = [ "Sidekiq::JobRetry::Skip", "Sidekiq::JobRetry::Handled" ] class Configuration # Set this option to true if you want Sentry to only capture the last job # retry if it fails. attr_accessor :report_after_job_retries def initialize @report_after_job_retries = false end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sentry-sidekiq-5.22.2 | lib/sentry/sidekiq/configuration.rb |