trap errors even better
This commit is contained in:
parent
86d9ff7fc5
commit
02c050a9f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue