prosody: Add record name to update check failure warning

This commit is contained in:
Matthew Wild 2021-01-29 17:33:46 +00:00
parent 1947781554
commit b26a3eca60
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {};