prosody: Add record name to update check failure warning
This commit is contained in:
parent
1947781554
commit
b26a3eca60
|
@ -24,7 +24,7 @@ function check_for_updates()
|
||||||
module:log("debug", "Checking for updates on %s...", record_name);
|
module:log("debug", "Checking for updates on %s...", record_name);
|
||||||
r:lookup(function (records)
|
r:lookup(function (records)
|
||||||
if not records or #records == 0 then
|
if not records or #records == 0 then
|
||||||
module:log("warn", "Update check failed");
|
module:log("warn", "Update check failed for %s", record_name);
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
local result = {};
|
local result = {};
|
||||||
|
|
Loading…
Reference in New Issue