Ver Fonte

Add logging of network failure during connect

Andrii Danylchenko há 3 anos atrás
pai
commit
550f544592
1 ficheiros alterados com 1 adições e 2 exclusões
  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();