Method: BaseChip::Reporting::Methods#fault
- Defined in:
- lib/reporting.rb
#fault(msg, exception_msg = nil) ⇒ Object
56 57 58 59 60 61 |
# File 'lib/reporting.rb', line 56 def fault(msg,exception_msg=nil) "fault", msg, :red # = "#{Process.pid} #{$0} #{ARGV.join( ' ' )} #{msg}" DRb.stop_service # raise Fault, (exception_msg || msg) # FIXME -- when to raise? exit 0 end |