Sha256: 548629fd07bf32b032e975ce94191faeaed22c35ee7d7c46c61fa370bab6b707
Contents?: true
Size: 425 Bytes
Versions: 12
Compression:
Stored size: 425 Bytes
Contents
module Eventboss module ErrorHandlers class Logger def call(exception, context = {}) notice = {}.merge!(context) notice[:jid] = notice[:processor].jid if notice[:processor] notice[:processor] = notice[:processor].class.to_s if notice[:processor] Eventboss.logger.error(notice) do "Failure processing request: #{exception.message}" end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems