From: Peter van Dijk Date: Fri, 28 Oct 2016 13:31:53 +0000 (+0200) Subject: extract nested exception from Luawrapper X-Git-Tag: dnsdist-1.1.0-beta2~51^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4646%2Fhead;p=thirdparty%2Fpdns.git extract nested exception from Luawrapper Before: Oct 28 15:30:34 STL error (www.foobar.com/A from 127.0.0.1): Exception thrown by a callback function called by Lua After: Oct 28 15:30:34 STL error (www.foobar.com/A from 127.0.0.1): Exception thrown by a callback function called by Lua. Extra info: Found . in wrong position in DNSName www.foobar.com..internal reported by @elad, thanks! --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index d98f0803d6..4435bab3f9 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1183,7 +1183,16 @@ void startDoResolve(void *p) delete dc; } catch(std::exception& e) { - L<