Sha256: 9b6450eb19014240fa63bc5b1bcb6d5a73ef054cf23cc5091233d5120893ed2d
Contents?: true
Size: 325 Bytes
Versions: 3
Compression:
Stored size: 325 Bytes
Contents
module Raven module Sidekiq class CleanupMiddleware def call(_worker, job, queue) Raven.context.transaction.push "Sidekiq/#{job['class']}" Raven.extra_context(:sidekiq => job.merge("queue" => queue)) yield Context.clear! BreadcrumbBuffer.clear! end end end end
Version data entries
3 entries across 3 versions & 1 rubygems