[Lldb-commits] [lldb] [LLDB][NFC]Also includes the error in log msg. (PR #134922)

Vy Nguyen via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 8 12:59:24 PDT 2025


https://github.com/oontvoo created https://github.com/llvm/llvm-project/pull/134922

None

>From ab50c89574613178ba2bf79455eaa8aba0f2205d Mon Sep 17 00:00:00 2001
From: Vy Nguyen <vyng at google.com>
Date: Tue, 8 Apr 2025 15:58:10 -0400
Subject: [PATCH] [LLDB][NFC]Also includes the error in log msg.

---
 lldb/include/lldb/Core/Telemetry.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lldb/include/lldb/Core/Telemetry.h b/lldb/include/lldb/Core/Telemetry.h
index 28897f283dc55..022f40b1d2f2f 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());
+                     "{0} Failed to dispatch entry of type: {1}",
+                     info.getKind());
     }
   }
 



More information about the lldb-commits mailing list