1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
k0kubun 2017-12-27 13:35:25 +00:00
parent ff6c540adb
commit 57e95f38b1

View file

@ -277,6 +277,8 @@ class Downloader
$stderr.puts "retrying #{e.class} (#{e.message}) after #{times ** 2} seconds..." $stderr.puts "retrying #{e.class} (#{e.message}) after #{times ** 2} seconds..."
sleep(times ** 2) sleep(times ** 2)
retry retry
else
raise
end end
end end
end end