Sha256: 29918599d65cfea85731d74b61647274c6f49742d0108e0d3bbc0deec37c4787

Contents?: true

Size: 272 Bytes

Versions: 4

Compression:

Stored size: 272 Bytes

Contents

module Shoryuken
  class DefaultExceptionHandler
    extend Util

    def self.call(exception, _queue, _sqs_msg)
      logger.error { "Processor failed: #{exception.message}" }
      logger.error { exception.backtrace.join("\n") } if exception.backtrace
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shoryuken-6.2.1 lib/shoryuken/default_exception_handler.rb
shoryuken-6.2.0 lib/shoryuken/default_exception_handler.rb
shoryuken-6.1.1 lib/shoryuken/default_exception_handler.rb
shoryuken-6.1.0 lib/shoryuken/default_exception_handler.rb