debian-mirror-gitlab/app/workers/concerns/exception_backtrace.rb
2018-03-17 18:26:18 +05:30

8 lines
186 B
Ruby

# Concern for enabling a few lines of exception backtraces in Sidekiq
module ExceptionBacktrace
extend ActiveSupport::Concern
included do
sidekiq_options backtrace: 5
end
end