Merge pull request #20288 from Homebrew/retry_bottle_manifest

retryable_download: retry on bottle manifest errors.
This commit is contained in:
Mike McQuaid 2025-07-21 14:24:03 +00:00 committed by GitHub
commit dea25ec0c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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?