Sha256: 309ac2f86910f8d1871a3e2e504eab5f664dc7c305c170402211800020f23637
Contents?: true
Size: 330 Bytes
Versions: 23
Compression:
Stored size: 330 Bytes
Contents
module Beaker module Shared module ErrorHandler def report_and_raise(logger, e, msg) logger.error "Failed: errored in #{msg}" logger.error(e.inspect) bt = e.backtrace logger.pretty_backtrace(bt).each_line do |line| logger.error(line) end raise e end end end end
Version data entries
23 entries across 23 versions & 1 rubygems