Merge pull request #16111 from Bo98/manifest-retry
cmd/fetch: support retrying manifest downloads
This commit is contained in:
commit
eddbc0d732
@ -129,7 +129,12 @@ module Homebrew
|
||||
next
|
||||
end
|
||||
|
||||
formula.fetch_bottle_tab
|
||||
begin
|
||||
bottle.fetch_tab
|
||||
rescue DownloadError
|
||||
retry if retry_fetch?(bottle, args: args)
|
||||
raise
|
||||
end
|
||||
fetch_formula(bottle, args: args)
|
||||
rescue Interrupt
|
||||
raise
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user