Software /
code /
prosody
Diff
net/adns.lua @ 1901:3c52b949e472
net.adns: Bump log-level of DNS handler errors to, er, 'error'
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 05 Oct 2009 09:56:08 +0100 |
parent | 1788:45779d67c26c |
child | 2128:f107f0205793 |
child | 2710:1600aff0839f |
line wrap: on
line diff
--- a/net/adns.lua Sun Oct 04 22:12:12 2009 +0500 +++ b/net/adns.lua Mon Oct 05 09:56:08 2009 +0100 @@ -29,7 +29,7 @@ log("debug", "Reply for %s (%s)", qname, tostring(coroutine.running())); local ok, err = pcall(handler, dns.peek(qname, qtype, qclass)); if not ok then - log("debug", "Error in DNS response handler: %s", tostring(err)); + log("error", "Error in DNS response handler: %s", tostring(err)); end end)(dns.peek(qname, qtype, qclass)); end