2018-06-27 03:31:41 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-24 15:24:58 -04:00
|
|
|
# Concern for enabling a few lines of exception backtraces in Sidekiq
|
|
|
|
module ExceptionBacktrace
|
|
|
|
extend ActiveSupport::Concern
|
|
|
|
|
|
|
|
included do
|
|
|
|
sidekiq_options backtrace: 5
|
|
|
|
end
|
|
|
|
end
|