aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2012-05-07 18:25:24 -0300
committerHisham Muhammad <hisham@gobolinux.org>2012-05-07 18:25:24 -0300
commitb00f6b1eb6cd463d63110c7e901d8aa3044ea771 (patch)
tree243c51326f4ea30879446ce7aba6b4d5fedbc056 /src
parentc9cf412a181c19f76275d1197f123350fbcfe2f5 (diff)
downloadluarocks-b00f6b1eb6cd463d63110c7e901d8aa3044ea771.tar.gz
luarocks-b00f6b1eb6cd463d63110c7e901d8aa3044ea771.tar.bz2
luarocks-b00f6b1eb6cd463d63110c7e901d8aa3044ea771.zip
preserve error message, suggested by Themroc@github
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/manif.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/manif.lua b/src/luarocks/manif.lua
index f09abf45..60b0c1df 100644
--- a/src/luarocks/manif.lua
+++ b/src/luarocks/manif.lua
@@ -98,7 +98,7 @@ function load_manifest(repo_url)
98 local name = repo_url:gsub("[/:]","_") 98 local name = repo_url:gsub("[/:]","_")
99 local file, err, errcode = fetch.fetch_url_at_temp_dir(url, "luarocks-manifest-"..name) 99 local file, err, errcode = fetch.fetch_url_at_temp_dir(url, "luarocks-manifest-"..name)
100 if not file then 100 if not file then
101 return nil, "Failed fetching manifest for "..repo_url, errcode 101 return nil, "Failed fetching manifest for "..repo_url..(err and " - "..err or ""), errcode
102 end 102 end
103 pathname = file 103 pathname = file
104 end 104 end