aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/upload/api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/upload/api.lua b/src/luarocks/upload/api.lua
index 6a830abd..6df24569 100644
--- a/src/luarocks/upload/api.lua
+++ b/src/luarocks/upload/api.lua
@@ -201,7 +201,7 @@ local warned_luasec = false
201 201
202function Api:request(url, params, post_params) 202function Api:request(url, params, post_params)
203 local json_ok, json = require_json() 203 local json_ok, json = require_json()
204 if not json_ok then return nil, "A JSON library is required for this command." end 204 if not json_ok then return nil, "A JSON library is required for this command. "..json end
205 local server = tostring(self.config.server) 205 local server = tostring(self.config.server)
206 local http_ok, http 206 local http_ok, http
207 local via = "luasocket" 207 local via = "luasocket"