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:
parent
02b2f35143
commit
550f544592
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user