Handle sidekiq errors that happen before block executes