0
0
mirror of https://github.com/llvm/llvm-project.git synced 2025-04-21 17:46:51 +00:00

[LLDB][NFC]Also includes the error in log msg. ()

Co-authored-by: Jonas Devlieghere <jonas@devlieghere.com>
This commit is contained in:
Vy Nguyen 2025-04-09 10:23:48 -04:00 committed by GitHub
parent d99cdd7fba
commit e3f5a1bfc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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());
}
}