[Lldb-commits] [lldb] e3f5a1b - [LLDB][NFC]Also includes the error in log msg. (#134922)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 9 07:23:53 PDT 2025
Author: Vy Nguyen
Date: 2025-04-09T10:23:48-04:00
New Revision: e3f5a1bfc58b5c8db8ff8ac8390e790c7a396d4a
URL: https://github.com/llvm/llvm-project/commit/e3f5a1bfc58b5c8db8ff8ac8390e790c7a396d4a
DIFF: https://github.com/llvm/llvm-project/commit/e3f5a1bfc58b5c8db8ff8ac8390e790c7a396d4a.diff
LOG: [LLDB][NFC]Also includes the error in log msg. (#134922)
Co-authored-by: Jonas Devlieghere <jonas at devlieghere.com>
Added:
Modified:
lldb/include/lldb/Core/Telemetry.h
Removed:
################################################################################
diff --git a/lldb/include/lldb/Core/Telemetry.h b/lldb/include/lldb/Core/Telemetry.h
index 28897f283dc55..fa01e2e4af90f 100644
--- a/lldb/include/lldb/Core/Telemetry.h
+++ b/lldb/include/lldb/Core/Telemetry.h
@@ -272,7 +272,8 @@ template <typename Info> struct ScopedDispatcher {
// And then we dispatch.
if (llvm::Error er = manager->dispatch(&info)) {
LLDB_LOG_ERROR(GetLog(LLDBLog::Object), std::move(er),
- "Failed to dispatch entry of type: {0}", info.getKind());
+ "Failed to dispatch entry of type {1}: {0}",
+ info.getKind());
}
}
More information about the lldb-commits
mailing list