diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-24 04:00:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-24 04:00:27 +0000 |
commit | 5b4ff7d6f9fe12af5a14c09c1509490a4c6a318b (patch) | |
tree | c849294f91724575d06bd673db47061d56b7d80d /tool/downloader.rb | |
parent | 01195a202cb9fcc6ddb6cf793868e4c7d85292dc (diff) | |
download | ruby-5b4ff7d6f9fe12af5a14c09c1509490a4c6a318b.tar.gz |
downloader.rb: fix exception arguments
* tool/downloader.rb (Downloader.download): fix the exception to
re-raise. initialize methods of subclasses of Exception may
have different parameters. [ruby-core:67086] [Bug #10639]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r-- | tool/downloader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb index cb7ba8213e..e1071fcd16 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -107,7 +107,7 @@ class Downloader end true rescue => e - raise e.class, "failed to download #{name}\n#{e.message}: #{url}", e.backtrace + raise "failed to download #{name}\n#{e.message}: #{url}" end end |