Apply Rails backtrace cleaner to ActiveJob backtrace printout

ActiveJob produces a large amount of log noise, because errors that are emitted from ActiveJob don’t have the standard Rails BacktraceCleaner applied. This is especially apparent when using Sorbet for Ruby types.

The fix is just a few lines of code. Would be great if someone has time to review and merge my PR :slight_smile: - just want to nudge this along, because I got some very quick initial feedback, but have been waiting on approval for a week or two.

Thanks!

1 Like