From 4c8853f4a9bf0939196c73fd7b1acbc31b730c2c Mon Sep 17 00:00:00 2001 From: Alex Thomae Date: Tue, 4 Feb 2020 22:28:44 +0100 Subject: [PATCH] Adds the image name in the debug information for failed registry request --- cioban/cioban.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cioban/cioban.py b/cioban/cioban.py index 2214b5c..6acf23b 100644 --- a/cioban/cioban.py +++ b/cioban/cioban.py @@ -89,7 +89,7 @@ def __get_updated_image(self, image, image_sha): try: registry_data = self.docker.images.get_registry_data(image) except docker.errors.APIError as error: - log.error(f'{error}') + log.error(f'Failed to retrieve the registry data for {image}. The error: {error}') if registry_data: digest = registry_data.attrs['Descriptor']['digest']