Skip to content

Commit 0f724c5

Browse files
committed
debug list images
1 parent af23228 commit 0f724c5

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • app/lib/client/resources

app/lib/client/resources/ecs.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ def list_services_data
6565
end
6666
end
6767
break unless image.nil?
68+
rescue StandardError => e
69+
logger.error("Error listing services 1: #{e.message}")
6870
end
6971

7072
dep = svc.deployments ? svc.deployments[0] : {}
@@ -103,10 +105,14 @@ def list_services_data
103105
manifest_tag: @ecr_client.get_manifest_tag(image_name),
104106
status: status
105107
}
108+
rescue StandardError => e
109+
logger.error("Error listing services 2: #{e.message}")
106110
end
111+
rescue StandardError => e
112+
logger.error("Error listing services 3: #{e.message}")
107113
end
108114
rescue StandardError => e
109-
logger.error("Error listing services: #{e.message}")
115+
logger.error("Error listing services 4: #{e.message}")
110116
end
111117
services
112118
end

0 commit comments

Comments
 (0)