Sha256: 816445cef14e287631238c9af3100dade41a378cf8128a436d2d223dec5fc657

Contents?: true

Size: 595 Bytes

Versions: 31

Compression:

Stored size: 595 Bytes

Contents

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"]

    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

31 entries across 31 versions & 1 rubygems

Version Path
sentry-sidekiq-5.20.1 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.20.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.19.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.18.2 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.18.1 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.18.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.17.3 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.17.2 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.17.1 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.17.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.16.1 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.16.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.15.2 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.15.1 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.15.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.14.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.13.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.12.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.11.0 lib/sentry/sidekiq/configuration.rb
sentry-sidekiq-5.10.0 lib/sentry/sidekiq/configuration.rb