Removed catch(..) from the codebase. Catch only std::exception

This commit is contained in:
gabime
2017-11-12 19:46:15 +02:00
parent 63d7c64618
commit 8ca1d84a32
4 changed files with 5 additions and 34 deletions

View File

@@ -279,11 +279,7 @@ inline void spdlog::details::async_log_helper::worker_loop()
catch (const std::exception &ex)
{
_err_handler(ex.what());
}
catch (...)
{
_err_handler("Unknown exception");
}
}
}
if (_worker_teardown_cb) _worker_teardown_cb();