aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-05-16 14:51:01 +0200
committerKim Alvefur <zash@zash.se>2022-05-16 14:51:01 +0200
commit24288146ae05b47d74bd0d4403825048593623d9 (patch)
tree711b623248a77e63e581db93977f0a0de5a9ec7a /net
parent5e95ed633acf7454ce9f5b668bd1069e1038b499 (diff)
downloadprosody-24288146ae05b47d74bd0d4403825048593623d9.tar.gz
prosody-24288146ae05b47d74bd0d4403825048593623d9.zip
net.unbound: Adjust log level of error to error to error
This error is an error, therefore it should be at the error level
Diffstat (limited to 'net')
-rw-r--r--net/unbound.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unbound.lua b/net/unbound.lua
index f11189fe..4d8f9284 100644
--- a/net/unbound.lua
+++ b/net/unbound.lua
@@ -142,7 +142,7 @@ local function lookup(callback, qname, qtype, qclass)
if ret then
waiting_queries[ret] = callback;
else
- log_query("warn", "Resolver error: %s", err);
+ log_query("error", "Resolver error: %s", err);
end
return ret, err;
end