Class: Minitest::UnexpectedError
- Inherits:
-
Object
- Object
- Minitest::UnexpectedError
- Defined in:
- lib/power_trace/integrations/minitest.rb
Instance Method Summary collapse
Instance Method Details
#backtrace ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/power_trace/integrations/minitest.rb', line 5 def backtrace begin error.stored_power_trace.to_backtrace(extra_info_indent: 8) rescue => e PowerTrace.print_power_trace_error(e) original_backtrace end end |
#original_backtrace ⇒ Object
3 |
# File 'lib/power_trace/integrations/minitest.rb', line 3 alias :original_backtrace :backtrace |