]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
make tcpreceiver less chatty about network errors
authorBert Hubert <bert.hubert@netherlabs.nl>
Wed, 19 Nov 2008 17:23:27 +0000 (17:23 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Wed, 19 Nov 2008 17:23:27 +0000 (17:23 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1306 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/tcpreceiver.cc

index 8d82fa2139e6220c571854d7cfac7bc55652dc3a..2bfb22aaf3251ad34746b598a8b57ba70efe3e08 100644 (file)
@@ -324,6 +324,10 @@ void *TCPNameserver::doConnection(void *data)
     s_P = 0; // on next call, backend will be recycled
     L<<Logger::Error<<"TCP nameserver had error, cycling backend: "<<ae.reason<<endl;
   }
+  catch(NetworkError &e) {
+    L<<Logger::Info<<"TCP Connection Thread died because of STL error: "<<e.what()<<endl;
+  }
+
   catch(std::exception &e) {
     L<<Logger::Error<<"TCP Connection Thread died because of STL error: "<<e.what()<<endl;
   }