From 57e95f38b1f6941eb0dc84c36363f7f64dacd7b4 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Wed, 27 Dec 2017 13:35:25 +0000 Subject: [PATCH] tool/downloader.rb: don't suppress exception on the end of retry failure. Fixed mistake in r61498 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/downloader.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tool/downloader.rb b/tool/downloader.rb index c6f6c4701c..640a55ab45 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -277,6 +277,8 @@ class Downloader $stderr.puts "retrying #{e.class} (#{e.message}) after #{times ** 2} seconds..." sleep(times ** 2) retry + else + raise end end end