Sha256: 34d473b7f0058cd44dbf4b1ad903d18cb50c5cd89862d90e62275f789b41ba7b
Contents?: true
Size: 353 Bytes
Versions: 1
Compression:
Stored size: 353 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 def perform 1 / 0 end end ErrorWorker.perform_async
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sentry-sidekiq-0.1.1 | example/error_worker.rb |