From 02c050a9f4fbbcda4b7b18cb1c2f41a0d1d51868 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 4 Aug 2011 16:09:28 -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 397f068..2998411 100644 --- a/lib/hydra/runner.rb +++ b/lib/hydra/runner.rb @@ -161,7 +161,7 @@ module Hydra #:nodoc: RSpec.instance_variable_set(:@configuration, nil) begin result = RSpec::Core::Runner.run(config, hydra_output, hydra_output) - rescue ex + rescue Exception => ex return ex.to_s end hydra_output.rewind