Sha256: ba06143dce830558753fdd75aeaf6308d339132ac43c49976ae842a596ec69ec
Contents?: true
Size: 424 Bytes
Versions: 5
Compression:
Stored size: 424 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
5 entries across 5 versions & 1 rubygems