]> gitweb.michael.orlitzky.com - haeredes.git/commitdiff
src/Main.hs: fix handling of "domain not found" errors.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 2 Mar 2019 02:27:19 +0000 (21:27 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 2 Mar 2019 02:27:19 +0000 (21:27 -0500)
The "not delegated" example in the man page is now failing, because
we're getting back a NameError (failure result) instead of an empty
success result. I'm not sure when this changed -- and my fix is
probably backwards-incompatible -- but I've updated haeredes to look
for the NameError rather than an empty result. The documented example
works again, but I've only tested with v3.0.2 of the "dns" library.


No differences found