Module: ErrorRadar::Integrations::ActiveJob

Extended by:
ActiveSupport::Concern
Defined in:
lib/error_radar/integrations/active_job.rb

Overview

Opt-in ActiveJob capture. Include into your ApplicationJob to catch exceptions from any queue adapter (not just Sidekiq), then re-raise so the adapter’s retry/failure handling is unaffected:

class ApplicationJob < ActiveJob::Base
  include ErrorRadar::Integrations::ActiveJob
end

NOTE: if you also enable the Sidekiq integration, Sidekiq-backed jobs will be captured by both — keep only one if you want to avoid double counting.