Sha256: 084d1de30c2faf0a278fc6a294dabd9a9a6b9c3cfecedb73828e101bc311a1e2

Contents?: true

Size: 376 Bytes

Versions: 3

Compression:

Stored size: 376 Bytes

Contents

require 'time'
require 'sidekiq'
require 'raven/integrations/sidekiq/cleanup_middleware'
require 'raven/integrations/sidekiq/error_handler'

if Sidekiq::VERSION > '3'
  Sidekiq.configure_server do |config|
    config.error_handlers << Raven::Sidekiq::ErrorHandler.new
    config.server_middleware do |chain|
      chain.add Raven::Sidekiq::CleanupMiddleware
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sentry-raven-3.1.2 lib/raven/integrations/sidekiq.rb
sentry-raven-3.1.1 lib/raven/integrations/sidekiq.rb
sentry-raven-3.1.0 lib/raven/integrations/sidekiq.rb