Class: Sentry::Sidekiq::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/sentry/sidekiq/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



21
22
23
# File 'lib/sentry/sidekiq/configuration.rb', line 21

def initialize
  @report_after_job_retries = false
end

Instance Attribute Details

#report_after_job_retriesObject

Set this option to true if you want Sentry to only capture the last job retry if it fails.



19
20
21
# File 'lib/sentry/sidekiq/configuration.rb', line 19

def report_after_job_retries
  @report_after_job_retries
end