Skip to content

Commit 1785ad3

Browse files
committed
Add the error string that Greg recommended after I had saved changes locally
1 parent b2f6d60 commit 1785ad3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/source/Core/PluginManager.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,8 +709,10 @@ Status PluginManager::SaveCore(const lldb::ProcessSP &process_sp,
709709
return error;
710710
}
711711

712-
if (!process_sp)
712+
if (!process_sp) {
713+
error.SetErrorString("Invalid process");
713714
return error;
715+
}
714716

715717
if (!options.GetPluginName().has_value()) {
716718
// Try saving core directly from the process plugin first.

0 commit comments

Comments
 (0)