Removed catch(..) from the codebase. Catch only std::exception
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user