diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb index f747bc5b216a2..7dd07fa229fec 100644 --- a/Library/Homebrew/cmd/fetch.rb +++ b/Library/Homebrew/cmd/fetch.rb @@ -129,7 +129,12 @@ def self.fetch 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