summaryrefslogtreecommitdiff
path: root/tool/downloader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r--tool/downloader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb
index 5d5efe5..03d26ea 100644
--- a/tool/downloader.rb
+++ b/tool/downloader.rb
@@ -6,6 +6,6 @@ class Downloader
file = dir ? File.join(dir, name) : name
open(file, "wb", 0755) {|f| f.write(data)}
rescue => e
- raise "failed to download #{name}\n#{e.message}: #{uri}"
+ raise "failed to download #{name}\n#{e.message}: #{url}"
end
end