trap errors even better

This commit is contained in:
John Bintz 2011-08-04 16:11:58 -04:00
parent 02c050a9f4
commit 1f5f494edc
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ module Hydra #:nodoc:
begin begin
result = RSpec::Core::Runner.run(config, hydra_output, hydra_output) result = RSpec::Core::Runner.run(config, hydra_output, hydra_output)
rescue Exception => ex rescue Exception => ex
return ex.to_s return ex.to_s + "\n" + ex.backtrace.join("\n")
end end
hydra_output.rewind hydra_output.rewind