Comparison

net/unbound.lua @ 12510:cd3b5912c9a3 0.12

net.unbound: Adjust log level of error to error to error This error is an error, therefore it should be at the error level
author Kim Alvefur <zash@zash.se>
date Mon, 16 May 2022 14:51:01 +0200
parent 12509:a92e1de62c9e
child 12557:ee5b061588ea
comparison
equal deleted inserted replaced
12509:a92e1de62c9e 12510:cd3b5912c9a3
140 local err; 140 local err;
141 ret, err = unbound:resolve_async(callback_wrapper, qname, ntype, nclass); 141 ret, err = unbound:resolve_async(callback_wrapper, qname, ntype, nclass);
142 if ret then 142 if ret then
143 waiting_queries[ret] = callback; 143 waiting_queries[ret] = callback;
144 else 144 else
145 log_query("warn", "Resolver error: %s", err); 145 log_query("error", "Resolver error: %s", err);
146 end 146 end
147 return ret, err; 147 return ret, err;
148 end 148 end
149 149
150 local function lookup_sync(qname, qtype, qclass) 150 local function lookup_sync(qname, qtype, qclass)