Sha256: 2509a679564c10ceb20dd482ecc78862c553ff7a033ac89c11ae71ea8f5b0b4f
Contents?: true
Size: 435 Bytes
Versions: 34
Compression:
Stored size: 435 Bytes
Contents
module Messaging class ExceptionHandler def self.call(exception, context = {}) Config.error_handlers.each do |handler| begin handler.call(exception, context) rescue => e Messaging.logger.error '!!! ERROR HANDLER THREW AN ERROR !!!' Messaging.logger.error e Messaging.logger.error e.backtrace.join("\n") unless e.backtrace.nil? end end end end end
Version data entries
34 entries across 34 versions & 1 rubygems