Skip to content

Commit 11efc09

Browse files
oontvoolabath
andauthored
Update lldb/source/Core/Telemetry.cpp
Co-authored-by: Pavel Labath <[email protected]>
1 parent 496c370 commit 11efc09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/source/Core/Telemetry.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ void TelemetryManager::atDebuggerStartup(DebuggerTelemetryInfo *entry) {
123123
} else {
124124
MiscTelemetryInfo misc_info;
125125
misc_info.meta_data["internal_errors"] = "Cannot determine CWD";
126-
if (auto er = dispatch(&misc_info)) {
127-
LLDB_LOG(GetLog(LLDBLog::Object),
128-
"Failed to dispatch misc-info at startup");
126+
if (llvm::Error er = dispatch(&misc_info)) {
127+
LLDB_LOG_ERROR(GetLog(LLDBLog::Object), std::move(er),
128+
"Failed to dispatch misc-info at startup: {0}");
129129
}
130130
}
131131

0 commit comments

Comments
 (0)