From 97f340a4c490f454dac5e73563731109b951b66c Mon Sep 17 00:00:00 2001 From: Eugene Crosser Date: Sat, 19 Apr 2014 14:47:13 +0400 Subject: [PATCH] fix error reporting --- PowerDns.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerDns.hs b/PowerDns.hs index cbc9fb5..81e0ac9 100644 --- a/PowerDns.hs +++ b/PowerDns.hs @@ -81,7 +81,7 @@ pdnsParse ver s = "AXFR":x:[] -> Right (PdnsRequestAXFR (getInt x)) "Q":qn:"IN":qt:id:rip:xs -> case rrType qt of RRTypeError e -> - Left $ "PDNS Request: " ++ (show qt) + Left $ "Unrecognized RR type: " ++ e rt -> Right (PdnsRequestQ { qName = qn -- 2.39.2