Class: JadeSystemsToolbox::ErrorReporter
- Inherits:
-
Thor
- Object
- Thor
- JadeSystemsToolbox::ErrorReporter
- Defined in:
- lib/jade_systems_toolbox/error_reporter.rb
Class Method Summary collapse
Class Method Details
.report(exception) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/jade_systems_toolbox/error_reporter.rb', line 6 def report(exception) $stderr.puts exception. # TODO: Only show the backtrace back to the user's code (not Thor invocation frames). $stderr.puts exception.backtrace if !exception.respond_to?(:verbose) || exception.verbose end |