mirror of
https://github.com/gabime/spdlog.git
synced 2025-02-12 07:30:49 +08:00
Fixed source_loc in handle exception in async sync
This commit is contained in:
parent
83c9ede9e6
commit
3d83e402ca
@ -109,7 +109,7 @@ void async_sink::backend_log_(const details::log_msg &msg) {
|
||||
} catch (const std::exception &ex) {
|
||||
err_helper_.handle_ex("async log", msg.source, ex);
|
||||
} catch (...) {
|
||||
err_helper_.handle_unknown_ex("async log", source_loc{});
|
||||
err_helper_.handle_unknown_ex("async log", msg.source);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user