From a738556b5443c3662e207dd31a97bc3b38ec447e Mon Sep 17 00:00:00 2001 From: Mark Zealey Date: Fri, 6 Dec 2013 10:34:15 +0200 Subject: [PATCH] log nice error message as well as throwing exception --- pdns/nameserver.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pdns/nameserver.cc b/pdns/nameserver.cc index c5b0bb0365..9c9eddf326 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<