summaryrefslogtreecommitdiff
path: root/app/workers/concerns/exception_backtrace.rb
blob: 37c9eaba0d7010ada4281c1bb84ac1aa24bbe98e (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

# Concern for enabling a few lines of exception backtraces in Sidekiq
module ExceptionBacktrace
  extend ActiveSupport::Concern

  included do
    sidekiq_options backtrace: 5
  end
end