[Lldb-commits] [lldb] [LLDB][NFC]Also includes the error in log msg. (PR #134922)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 8 13:00:04 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Vy Nguyen (oontvoo)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/134922.diff
1 Files Affected:
- (modified) lldb/include/lldb/Core/Telemetry.h (+2-1)
``````````diff
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());
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/134922
More information about the lldb-commits
mailing list