This commit is contained in:
gabime
2017-11-24 20:59:58 +02:00
parent fd170b0fe1
commit c41b6d28b5
5 changed files with 19 additions and 18 deletions

View File

@@ -279,13 +279,13 @@ inline void spdlog::details::async_log_helper::worker_loop()
catch (const std::exception &ex)
{
_err_handler(ex.what());
}
catch(...)
}
catch(...)
{
_err_handler("Unknown exeption in worker loop. Terminating worker loop");
active = false;
active = false;
}
}
}
if (_worker_teardown_cb) _worker_teardown_cb();