Skip to content

Commit

Permalink
formula_installer: handle another exception in fetch_bottle_tab.
Browse files Browse the repository at this point in the history
Fix another way that fetching a bottle tab can fail. This pretty much
only happens in CI.

Addresses Homebrew/homebrew-core#141362 (comment)
  • Loading branch information
MikeMcQuaid authored and dduugg committed Sep 30, 2023
1 parent 1ad7f0a commit 1059973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/formula_installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ def fetch_bottle_tab
.index_by { |dep| dep["full_name"] }
.freeze
true
rescue DownloadError
rescue DownloadError, ArgumentError
@fetch_bottle_tab = true
end
end
Expand Down

0 comments on commit 1059973

Please sign in to comment.