# HG changeset patch # User JC Brand # Date 1484214572 0 # Node ID 68ebc52222dc8e1c7f53a7d49ca0c0034423539a # Parent 7814a5c7fee8418210d85c267c64c055eceadf4e Log URL called by http_roster_admin diff -r 7814a5c7fee8 -r 68ebc52222dc mod_http_roster_admin/mod_http_roster_admin.lua --- a/mod_http_roster_admin/mod_http_roster_admin.lua Tue Jan 10 14:11:56 2017 +0100 +++ b/mod_http_roster_admin/mod_http_roster_admin.lua Thu Jan 12 09:49:32 2017 +0000 @@ -127,6 +127,7 @@ function fetch_roster(username, cb) local x = {headers = {}}; x["headers"]["ACCEPT"] = "application/json, text/plain, */*"; + module:log("debug", "Fetching roster at URL: %s", roster_url:format(username)); local ok, err = http.request( roster_url:format(username), x, @@ -143,7 +144,6 @@ cb(true, code, json.decode(roster_data)); end ); - module:log("debug", "fetch_roster: ok is %s", ok); if not ok then module:log("error", "Failed to connect to roster API at %s: %s", roster_url:format(username), err); cb(false, 0, err);