mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
report unexected exception types
This commit is contained in:
parent
6dd928dc3c
commit
ed5498a2e9
@ -282,9 +282,7 @@ inline void spdlog::details::async_log_helper::worker_loop()
|
|||||||
}
|
}
|
||||||
catch(...)
|
catch(...)
|
||||||
{
|
{
|
||||||
_err_handler("Unknown exeption in worker loop. Terminating worker loop");
|
_err_handler("Unknown exeption in async logger worker loop.");
|
||||||
active = false;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (_worker_teardown_cb) _worker_teardown_cb();
|
if (_worker_teardown_cb) _worker_teardown_cb();
|
||||||
|
Loading…
Reference in New Issue
Block a user