summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-27 13:35:25 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-27 13:35:25 +0000
commit57e95f38b1f6941eb0dc84c36363f7f64dacd7b4 (patch)
tree72f97f88c53e81063bd406b114f11a8b7be7f637
parentff6c540adb5b60b0fd75152434fa67b1fa3d26b7 (diff)
downloadruby-57e95f38b1f6941eb0dc84c36363f7f64dacd7b4.tar.gz
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
-rw-r--r--tool/downloader.rb2
1 files changed, 2 insertions, 0 deletions
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