From: bert hubert Date: Tue, 10 Oct 2017 13:50:22 +0000 (+0200) Subject: improve logging of errors in carbon & web services thread X-Git-Tag: rec-4.1.0-rc2~47^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2cfc20bdee45240a551fdded997c594505e39fc1;p=thirdparty%2Fpdns.git improve logging of errors in carbon & web services thread --- diff --git a/pdns/rec-carbon.cc b/pdns/rec-carbon.cc index 290750930a..5cf085ba9e 100644 --- a/pdns/rec-carbon.cc +++ b/pdns/rec-carbon.cc @@ -73,3 +73,7 @@ catch(std::exception& e) { L<accept(); + auto socket = server->accept(); // this is actually a shared_ptr if (socket) { server->d_asyncNewConnectionCallback(socket); } } catch (NetworkError &e) { // we're running in a shared process/thread, so can't just terminate/abort. + L<