Update BaseDaemon.cpp

This commit is contained in:
alexey-milovidov 2021-07-30 09:21:03 +03:00 committed by GitHub
parent 3d029e66fe
commit 44441535ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,6 +266,7 @@ private:
LOG_FATAL(log, "(version {}{}, {}) (from thread {}) {}",
VERSION_STRING, VERSION_OFFICIAL, daemon.build_id_info, thread_num, message.substr(0, pos));
/// Print trace from std::terminate exception line-by-line to make it easy for grep.
while (pos != std::string_view::npos)
{
++pos;