retryable_download: retry on bottle manifest errors.

This is needed in case these files are e.g. corrupt.
This commit is contained in:
Mike McQuaid 2025-07-21 15:07:19 +01:00
parent 6261551636
commit 2a5c37cfdd
No known key found for this signature in database

View File

@ -68,7 +68,7 @@ module Homebrew
downloadable.verify_download_integrity(download) if verify_download_integrity
download
rescue DownloadError, ChecksumMismatchError
rescue DownloadError, ChecksumMismatchError, Resource::BottleManifest::Error
tries_remaining = @tries - @try
raise if tries_remaining.zero?