Sha256: ef2bcae1c6e079b22daf5580f2d2f51efa8eeb8a2ca431d9874ae868c18cc5db
Contents?: true
Size: 344 Bytes
Versions: 16
Compression:
Stored size: 344 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
16 entries across 16 versions & 1 rubygems