Sha256: 5fb613bd800259f00a71c515ccc81349a7b74d02a74dc4aa9c9c1aaa282c59fa
Contents?: true
Size: 586 Bytes
Versions: 5
Compression:
Stored size: 586 Bytes
Contents
# frozen_string_literal: true require "sidekiq" require "sidekiq/version" module Sidekiq module Throttled class Communicator if Sidekiq::VERSION >= "6.5.0" module ExceptionHandler def handle_exception(*args) Sidekiq.handle_exception(*args) end end # NOTE: `Sidekiq.default_error_handler` is private API Sidekiq.error_handlers << Sidekiq.method(:default_error_handler) else require "sidekiq/exception_handler" ExceptionHandler = ::Sidekiq::ExceptionHandler end end end end
Version data entries
5 entries across 5 versions & 1 rubygems