]> granicus.if.org Git - pdns/commitdiff
Tone down errors a bit, remove ominous ": "
authorbert hubert <bert.hubert@netherlabs.nl>
Tue, 10 Oct 2017 16:03:24 +0000 (18:03 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Tue, 10 Oct 2017 16:03:24 +0000 (18:03 +0200)
pdns/ws-recursor.cc

index 4ffa219bdadbaac750f26ef0fe656bd59b3c2fba..4bbd59c64f6fec43fdd993ca4d3a04dd1396ab87 100644 (file)
@@ -547,11 +547,11 @@ void AsyncServerNewConnectionMT(void *p) {
     }
   } catch (NetworkError &e) {
     // we're running in a shared process/thread, so can't just terminate/abort.
-    L<<Logger::Error<<"Network error in web thread: "<<e.what()<<endl;
+    L<<Logger::Warning<<"Network error in web thread: "<<e.what()<<endl;
     return;
   }
   catch (...) {
-    L<<Logger::Error<<"Unknown error in web thread: "<<endl;
+    L<<Logger::Warning<<"Unknown error in web thread"<<endl;
 
     return;
   }