lib/remarkable/macros.rb in remarkable-3.0.7 vs lib/remarkable/macros.rb in remarkable-3.0.8

- old
+ new

@@ -15,11 +15,12 @@ def should_or_should_not_method_missing(should_or_should_not, method, calltrace, *args, &block) #:nodoc: it { begin send(should_or_should_not, send(method, *args, &block)) - rescue Exception => e - e.set_backtrace(calltrace.to_a) + rescue Exception => e + trace = e.backtrace.to_a + calltrace.to_a + e.set_backtrace(trace) raise e end } end