From b00f6b1eb6cd463d63110c7e901d8aa3044ea771 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 7 May 2012 18:25:24 -0300 Subject: preserve error message, suggested by Themroc@github --- src/luarocks/manif.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) local name = repo_url:gsub("[/:]","_") local file, err, errcode = fetch.fetch_url_at_temp_dir(url, "luarocks-manifest-"..name) if not file then - return nil, "Failed fetching manifest for "..repo_url, errcode + return nil, "Failed fetching manifest for "..repo_url..(err and " - "..err or ""), errcode end pathname = file end -- cgit v1.2.3-55-g6feb