diff --git a/lib/buildkite/test_collector/socket_connection.rb b/lib/buildkite/test_collector/socket_connection.rb index 9c91c5b..82cbbf3 100644 --- a/lib/buildkite/test_collector/socket_connection.rb +++ b/lib/buildkite/test_collector/socket_connection.rb @@ -82,7 +82,7 @@ def initialize(session, url, headers) @session.disconnected(self) disconnect end - rescue Errno::ECONNRESET => e + rescue Errno::ECONNRESET, Errno::ETIMEDOUT => e Buildkite::TestCollector.logger.error("#{e}") if @socket Buildkite::TestCollector.logger.error("attempting disconnected flow")