net.unbound: Adjust log level of error to error to error

This error is an error, therefore it should be at the error level
This commit is contained in:
Kim Alvefur 2022-05-16 14:51:01 +02:00
parent 5e95ed633a
commit 24288146ae

View file

@ -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