Class: Wukong::Processor::Serializer

Inherits:
Wukong::Processor show all
Defined in:
lib/wukong/widget/serializers.rb

Constant Summary

Constants inherited from Wukong::Processor

SerializerError

Instance Attribute Summary

Attributes included from Hanuman::StageInstanceMethods

#graph

Instance Method Summary collapse

Methods inherited from Wukong::Processor

configure, description, #finalize, #perform_action, #process, #receive_action, #setup, #stop

Methods included from Logging

included

Methods inherited from Hanuman::Stage

#clone

Methods included from Hanuman::StageClassMethods

#builder, #label, #register, #set_builder

Methods included from Hanuman::StageInstanceMethods

#add_link, #linkable_name, #root

Instance Method Details

#handle_error(record, err) ⇒ Object



8
9
10
11
12
# File 'lib/wukong/widget/serializers.rb', line 8

def handle_error(record, err)
  return if err.class == Errno::EPIPE
  log.error "#{err.class}: #{err.message}"
  err.backtrace.each { |line| log.debug(line) }
end