diff --git a/lib/wrapbox/runner/ecs/task_waiter.rb b/lib/wrapbox/runner/ecs/task_waiter.rb index 705a892..bace19a 100644 --- a/lib/wrapbox/runner/ecs/task_waiter.rb +++ b/lib/wrapbox/runner/ecs/task_waiter.rb @@ -101,6 +101,8 @@ def update_described_results(interval) end @cv.broadcast + rescue Seahorse::Client::NetworkingError => e + Wrapbox.logger.warn("Failed to connect to ECS #{e}") rescue Aws::ECS::Errors::ThrottlingException Wrapbox.logger.warn("Failed to describe tasks due to Aws::ECS::Errors::ThrottlingException") end