Skip to content
Snippets Groups Projects
Commit 9b3c22c7 authored by Jack Nagel's avatar Jack Nagel
Browse files

Pretty-print the "Trying a mirror" message


Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent aa6f9600
No related branches found
No related tags found
No related merge requests found
......@@ -563,7 +563,8 @@ private
fetched = downloader.fetch
rescue DownloadError => e
raise e if mirror_list.empty?
opoo "#{e.message}\nTrying a mirror."
opoo e.message
oh1 "Trying a mirror"
url, specs = mirror_list.shift.values_at :url, :specs
downloader = download_strategy.new url, name, version, specs
retry
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment