File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -624,7 +624,7 @@ bool lldb_private::python::SWIGBridge::LLDBSwigPythonCallCommand(
624624 SWIGBridge::ToSWIGWrapper (std::move (exe_ctx_ref_sp)), cmd_retobj_arg.obj (), dict);
625625
626626 if (PyErr_Occurred ())
627- cmd_retobj.SetStatus (eReturnStatusFailed );
627+ cmd_retobj.AppendError ( " Scripted command threw an uncaught exception " );
628628
629629 return true ;
630630}
@@ -648,7 +648,7 @@ bool lldb_private::python::SWIGBridge::LLDBSwigPythonCallCommandObject(
648648 SWIGBridge::ToSWIGWrapper (exe_ctx_ref_sp), cmd_retobj_arg.obj ());
649649
650650 if (PyErr_Occurred ())
651- cmd_retobj.SetStatus (eReturnStatusFailed );
651+ cmd_retobj.AppendError ( " Scripted command threw an uncaught exception " );
652652
653653 return true ;
654654}
@@ -767,7 +767,7 @@ bool lldb_private::python::SWIGBridge::LLDBSwigPythonCallParsedCommandObject(
767767 SWIGBridge::ToSWIGWrapper (exe_ctx_ref_sp), SWIGBridge::ToSWIGWrapper (cmd_retobj).obj ());
768768
769769 if (PyErr_Occurred ())
770- cmd_retobj.SetStatus (eReturnStatusFailed );
770+ cmd_retobj.AppendError ( " Scripted command threw an uncaught exception " );
771771
772772 return true ;
773773}
You can’t perform that action at this time.
0 commit comments