diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 643b87ba9e..6ed03af14c 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -563,8 +563,7 @@ private fetched = downloader.fetch rescue DownloadError => e raise e if mirror_list.empty? - opoo e.message - oh1 "Trying a mirror" + opoo "#{e.message}\nTrying a mirror." url, specs = mirror_list.shift.values_at :url, :specs downloader = download_strategy.new url, name, version, specs retry