Merge pull request #20288 from Homebrew/retry_bottle_manifest
retryable_download: retry on bottle manifest errors.
This commit is contained in:
commit
dea25ec0c0
@ -68,7 +68,7 @@ module Homebrew
|
|||||||
downloadable.verify_download_integrity(download) if verify_download_integrity
|
downloadable.verify_download_integrity(download) if verify_download_integrity
|
||||||
|
|
||||||
download
|
download
|
||||||
rescue DownloadError, ChecksumMismatchError
|
rescue DownloadError, ChecksumMismatchError, Resource::BottleManifest::Error
|
||||||
tries_remaining = @tries - @try
|
tries_remaining = @tries - @try
|
||||||
raise if tries_remaining.zero?
|
raise if tries_remaining.zero?
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user