diff --git a/src/sinks/async_sink.cpp b/src/sinks/async_sink.cpp index 6a7f6f99..9c03a12a 100644 --- a/src/sinks/async_sink.cpp +++ b/src/sinks/async_sink.cpp @@ -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); } } }