Changeset

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
parents 1900:93a94ec05ebe
children 1902:a7b06e2539c8
files net/adns.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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