From 1f5f494edcfa65e6713877f6613ac0f005be3fbd Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 4 Aug 2011 16:11:58 -0400 Subject: [PATCH] trap errors even better --- lib/hydra/runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hydra/runner.rb b/lib/hydra/runner.rb index 2998411..93c068c 100644 --- a/lib/hydra/runner.rb +++ b/lib/hydra/runner.rb @@ -162,7 +162,7 @@ module Hydra #:nodoc: begin result = RSpec::Core::Runner.run(config, hydra_output, hydra_output) rescue Exception => ex - return ex.to_s + return ex.to_s + "\n" + ex.backtrace.join("\n") end hydra_output.rewind