Merge "Bubble up image download failures"
This commit is contained in:
1 changed files with 2 additions and 1 deletions
@@ -147,7 +147,8 @@ function upload_image {
if [[ $rc -ne 0 ]]; then
if [[ "$attempt" -eq "$max_attempts" ]]; then
echo "Not found: $image_url"
return
# Signal failure to download to the caller, so they can fail early
return 1
fi
echo "Download failed, retrying in $attempt second, attempt: $attempt"
sleep $attempt
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.