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:
parent
ff6c540adb
commit
57e95f38b1
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue