module Vx::Instrumentation::Stderr

Public Instance Methods

notify_stderr(e) click to toggle source
# File lib/vx/instrumentation/stderr.rb, line 5
def notify_stderr(e)
  backtrace = e.backtrace || []
  puts "#{backtrace.first}: #{e.message} (#{e.class})", backtrace.drop(1).map{|s| "\t#{s}"}
end