From: Mark Zealey Date: Fri, 6 Dec 2013 08:34:15 +0000 (+0200) Subject: log nice error message as well as throwing exception X-Git-Tag: rec-3.6.0-rc1~313^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a738556b5443c3662e207dd31a97bc3b38ec447e;p=pdns log nice error message as well as throwing exception --- diff --git a/pdns/nameserver.cc b/pdns/nameserver.cc index c5b0bb036..9c9eddf32 100644 --- a/pdns/nameserver.cc +++ b/pdns/nameserver.cc @@ -105,8 +105,10 @@ void UDPNameserver::bindIPv4() s=socket(AF_INET,SOCK_DGRAM,0); - if(s<0) + if(s<0) { + L<