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-4.8.3 example/error_worker.rb
sentry-sidekiq-4.8.2 example/error_worker.rb
sentry-sidekiq-4.8.1 example/error_worker.rb
sentry-sidekiq-4.8.0 example/error_worker.rb
sentry-sidekiq-4.7.3 example/error_worker.rb
sentry-sidekiq-4.7.2 example/error_worker.rb
sentry-sidekiq-4.7.1 example/error_worker.rb
sentry-sidekiq-4.7.0 example/error_worker.rb
sentry-sidekiq-4.6.5 example/error_worker.rb
sentry-sidekiq-4.6.4 example/error_worker.rb
sentry-sidekiq-4.6.3 example/error_worker.rb
sentry-sidekiq-4.6.2 example/error_worker.rb
sentry-sidekiq-4.6.1 example/error_worker.rb
sentry-sidekiq-4.6.0 example/error_worker.rb
sentry-sidekiq-4.6.0.pre.beta.0 example/error_worker.rb
sentry-sidekiq-4.5.2 example/error_worker.rb
sentry-sidekiq-4.5.1 example/error_worker.rb
sentry-sidekiq-4.5.0 example/error_worker.rb
sentry-sidekiq-4.5.0.pre.beta.1 example/error_worker.rb
sentry-sidekiq-4.4.0 example/error_worker.rb