Skip to content

Commit

Permalink
Adds the image name in the debug information for failed registry request
Browse files Browse the repository at this point in the history
  • Loading branch information
tlex committed Feb 4, 2020
1 parent af76d11 commit 4c8853f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cioban/cioban.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 4c8853f

Please sign in to comment.