From 3aba32a68b9b02270ccb635ca58bd52bd709a025 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 4 Sep 2023 12:33:21 -0400 Subject: [PATCH] formula_installer: handle another exception in fetch_bottle_tab. Fix another way that fetching a bottle tab can fail. This pretty much only happens in CI. Addresses https://github.com/Homebrew/homebrew-core/pull/141362#issuecomment-1705327027 --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index d5cbede3e5..ddcb7599f5 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -1213,7 +1213,7 @@ on_request: installed_on_request?, options: options) .index_by { |dep| dep["full_name"] } .freeze true - rescue DownloadError + rescue DownloadError, ArgumentError @fetch_bottle_tab = true end end