lib/sentry/sidekiq/cleanup_middleware.rb in sentry-sidekiq-4.1.1 vs lib/sentry/sidekiq/cleanup_middleware.rb in sentry-sidekiq-4.1.2
- old
+ new
@@ -10,10 +10,10 @@
scope.set_transaction_name("Sidekiq/#{job["class"]}")
begin
yield
rescue => ex
- Sentry.capture_exception(ex, hint: { background: false })
+ Sentry::Sidekiq.capture_exception(ex, hint: { background: false })
end
end
end
end
end