lib/actir/parallel_tests/cli.rb in actir-1.2.2 vs lib/actir/parallel_tests/cli.rb in actir-1.2.3
- old
+ new
@@ -62,10 +62,11 @@
if options[:update]
begin
Actir::CookiesBaidu.update_all
rescue Exception => e
#若更新baidu_cookies失败,则打印错误信息,并中断测试执行
- puts e.message
+ puts "Exception: #{e.message} in"
+ puts e.backtrace
abort "update baidu cookies failed!!!"
end
end
#计算重跑次数