[lldb][windows] fix script interpreter file parsing (#193006)

This commit is contained in:
Charles Zablit authored and GitHub committed 2026-04-21 12:18:41 +02:00
1 parent a99dd8344e
commit a47551f220
3 files changed
+4 -8

No files matched your search

@@ -590,7 +590,10 @@ bool ScriptInterpreterPythonImpl::SetStdHandle(FileSP file_sp,
auto new_file = PythonFile::FromFile(file, mode);
if (!new_file) {
llvm::consumeError(new_file.takeError());
LLDB_LOG_ERROR(GetLog(LLDBLog::Script), new_file.takeError(),
"ScriptInterpreterPythonImpl::SetStdHandle failed to wrap "
"sys.{1}: {0}",
py_name);
return false;
}