1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Add logging of network failure during connect

This commit is contained in:
Andrii Danylchenko 2022-03-05 15:53:07 +02:00
parent 02b2f35143
commit 550f544592

View File

@ -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();