trap errors even better
This commit is contained in:
parent
02c050a9f4
commit
1f5f494edc
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user