Module: Sequent::Util::Printer
- Included in:
- Migrations::ViewSchema
- Defined in:
- lib/sequent/util/printer.rb
Instance Method Summary collapse
Instance Method Details
#recursively_print(e) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/sequent/util/printer.rb', line 6 def recursively_print(e) logger.error "#{e}\n\n#{e.backtrace.join("\n")}" while e.cause logger.error '+++++++++++++++ CAUSE +++++++++++++++' logger.error "#{e.cause}\n\n#{e.cause.backtrace.join("\n")}" e = e.cause end end |