فهرست منبع

Add logging of network failure during connect

Andrii Danylchenko 3 سال پیش
والد
کامیت
550f544592
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      server/CVCMIServer.cpp

+ 1 - 2
server/CVCMIServer.cpp

@@ -301,9 +301,8 @@ void CVCMIServer::connectionAccepted(const boost::system::error_code & ec)
 	}
 	catch(std::exception & e)
 	{
-        (void)e;
+		logNetwork->error("Failure processing new connection! %s", e.what());
 		upcomingConnection.reset();
-		logNetwork->info("I guess it was just my imagination!");
 	}
 
 	startAsyncAccept();