1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

- fixed crash with necromancy dialog #1009 (russian-only)

- Client::run will catch only asio exceptions
- (linux) fixed typo that disabled debug mode
This commit is contained in:
Ivan Savenko
2012-06-16 17:12:58 +00:00
parent 4d62525ff7
commit 1b50082e43
5 changed files with 9 additions and 8 deletions

View File

@@ -152,7 +152,8 @@ void CClient::run()
pack = NULL;
}
}
catch (const std::exception& e)
//catch only asio exceptions
catch (const boost::system::system_error& e)
{
tlog3 << "Lost connection to server, ending listening thread!\n";
tlog1 << e.what() << std::endl;