Added better error handling for socket errors.

This commit is contained in:
ravinsp
2019-12-16 14:49:33 +05:30
parent f54cabf6d0
commit d6751c3e52
5 changed files with 119 additions and 48 deletions

View File

@@ -115,7 +115,7 @@ void std_terminate() noexcept
}
catch (std::exception &ex)
{
std::cerr << "std error: " << ex.what() << "\n";
LOG_ERR << "std error: " << ex.what() << "\n";
}
catch (...)
{