diff --git a/ChangeLog b/ChangeLog index 6faa85bc1f..afc8afbe76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Dec 24 13:00:24 2014 Nobuyoshi Nakada + + * 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] + Wed Dec 24 12:16:19 2014 Nobuyoshi Nakada * ruby.h (rb_data_type_t): revert r48647 and revise parent member. 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