Skip to content

Commit 2a5c37c

Browse files
committed
retryable_download: retry on bottle manifest errors.
This is needed in case these files are e.g. corrupt.
1 parent 6261551 commit 2a5c37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Library/Homebrew/retryable_download.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def fetch(verify_download_integrity: true, timeout: nil, quiet: false)
6868
downloadable.verify_download_integrity(download) if verify_download_integrity
6969

7070
download
71-
rescue DownloadError, ChecksumMismatchError
71+
rescue DownloadError, ChecksumMismatchError, Resource::BottleManifest::Error
7272
tries_remaining = @tries - @try
7373
raise if tries_remaining.zero?
7474

0 commit comments

Comments
 (0)