Class: Thrifty::Hutch::ErrorHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/thrifty/hutch/error_handler.rb

Instance Method Summary collapse

Instance Method Details

#handle(message_id, payload, consumer, ex) ⇒ Object



3
4
5
6
7
8
9
10
11
# File 'lib/thrifty/hutch/error_handler.rb', line 3

def handle(message_id, payload, consumer, ex)
  Thrifty::Logger::App.handle_exception(
    ex,
    "Hutch",
    payload:    payload,
    consumer:   consumer,
    message_id: message_id
  )
end