aboutsummaryrefslogtreecommitdiffstats
path: root/net/adns.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-05 09:56:08 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-05 09:56:08 +0100
commitcbd60d6e1fcde45a5f9f337dfff4ee80a2598845 (patch)
tree6f6beb01e7045a04c507ed742f000f2981029c28 /net/adns.lua
parent1d7b68a237147803acfc2829cb5e0c4b44253618 (diff)
downloadprosody-cbd60d6e1fcde45a5f9f337dfff4ee80a2598845.tar.gz
prosody-cbd60d6e1fcde45a5f9f337dfff4ee80a2598845.zip
net.adns: Bump log-level of DNS handler errors to, er, 'error'
Diffstat (limited to 'net/adns.lua')
-rw-r--r--net/adns.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/adns.lua b/net/adns.lua
index 9438bf45..b0c9a625 100644
--- a/net/adns.lua
+++ b/net/adns.lua
@@ -29,7 +29,7 @@ function lookup(handler, qname, qtype, qclass)
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