lib/lopata/observers/web_logger.rb in lopata-0.1.30 vs lib/lopata/observers/web_logger.rb in lopata-0.1.31

- old
+ new

@@ -56,10 +56,10 @@ status = scenario.failed? ? Lopata::FAILED : Lopata::PASSED steps = build_hashes(scenario.steps) request = { status: status, steps: steps, launch: { id: @launch_id, finished: finished } } test = test_id(scenario) post("/tests/#{test}/attempts.json", body: request) - rescue SocketError => e + rescue SocketError, Timeout::Error => e # Ignore network problems. Continue with next scenario when cannot log results. puts e.message puts e.backtrace end