Skip to content

ImageDownload function should have a retry mechanism

This would be to avoid failing on folders because of an issue during download.

We should a retry mechanism, just like we do on API calls, to catch Pillow errors like UnidentifiedImageError. This means that the arkindex_cli.export.utils.image_download must return the loaded image instead of the path.

Refs https://redmine.teklia.com/issues/8864