It was surprising to me that every ActiveJob error that occurs is reported to HB even when specifying that errors within the retry loop should not be reported, e.g. retry_on ActiveRecord::Deadlocked, report: false
I think the HB ActiveJob should conform to the Rails API here and not report those errors. From the changelog it looks like there are reasons to prefer native error handlers over Rails.error, but perhaps the report param could be checked before sending off?
It was surprising to me that every ActiveJob error that occurs is reported to HB even when specifying that errors within the retry loop should not be reported, e.g.
retry_on ActiveRecord::Deadlocked, report: falseI think the HB ActiveJob should conform to the Rails API here and not report those errors. From the changelog it looks like there are reasons to prefer native error handlers over Rails.error, but perhaps the report param could be checked before sending off?