Sha256: 1de08ffb9a46d01831805ab4f7e6739f48d98863c150f572f8a68838ab02d13d

Contents?: true

Size: 381 Bytes

Versions: 61

Compression:

Stored size: 381 Bytes

Contents

require "sidekiq"
require "sentry-sidekiq"

Sentry.init do |config|
  config.breadcrumbs_logger = [:sentry_logger]
  # replace it with your sentry dsn
  config.dsn = 'https://2fb45f003d054a7ea47feb45898f7649@o447951.ingest.sentry.io/5434472'
end

class ErrorWorker
  include Sidekiq::Worker

  sidekiq_options retry: 0

  def perform
    1 / 0
  end
end

ErrorWorker.perform_async

Version data entries

61 entries across 61 versions & 1 rubygems

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