Fixed source_loc in handle exception in async sync

This commit is contained in:
gabime 2025-01-06 07:33:00 +02:00
parent 83c9ede9e6
commit 3d83e402ca

View File

@ -109,7 +109,7 @@ void async_sink::backend_log_(const details::log_msg &msg) {
} catch (const std::exception &ex) { } catch (const std::exception &ex) {
err_helper_.handle_ex("async log", msg.source, ex); err_helper_.handle_ex("async log", msg.source, ex);
} catch (...) { } catch (...) {
err_helper_.handle_unknown_ex("async log", source_loc{}); err_helper_.handle_unknown_ex("async log", msg.source);
} }
} }
} }