[lldb] Make conversions from llvm::Error explicit with Status::FromEr… (#107163)
…ror() [NFC]
This commit is contained in:
1 parent
5e1e6a689c
commit
a0dd90eb7d
46 files changed
+157
-140
No files matched your search
@@ -269,7 +269,7 @@ protected:
|
||||
transformed_args);
|
||||
|
||||
if (llvm::Error e = expected_return_object.takeError()) {
|
||||
error = Status(std::move(e));
|
||||
error = Status::FromError(std::move(e));
|
||||
return ErrorWithMessage<T>(caller_signature,
|
||||
"Python method could not be called.", error);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user