lib/cucumber/formatter/legacy_api/adapter.rb in cucumber-2.0.0.rc.5 vs lib/cucumber/formatter/legacy_api/adapter.rb in cucumber-2.0.0
- old
+ new
@@ -1003,10 +1003,10 @@
end
def filtered_step_exception(step)
exception = filtered_exception
exception.backtrace << StepBacktraceLine.new(step).to_s
- return exception
+ return BacktraceFilter.new(exception).exception
end
end
end