Module: Sonnet::Sidekiq::ExceptionHandler::Logger
- Defined in:
- lib/sonnet/sidekiq/exception_handler.rb
Instance Method Summary collapse
Instance Method Details
#call(ex, ctxHash) ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/sonnet/sidekiq/exception_handler.rb', line 14 def call(ex, ctxHash) ::Sidekiq.logger.warn( exception: ex, message: ctxHash["context"], job: ctxHash[:job] ) end |