mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 17:15:39 +08:00
try removing message
This commit is contained in:
1 parent
a4e6a1ff2e
commit
3626a9016e
1 file changed
+2
-2
@@ -82,7 +82,7 @@ Status PyBuffer::Init(PyObject* obj) {
|
||||
return Status::OK();
|
||||
} else {
|
||||
auto detail = std::make_shared<PythonErrorDetail>();
|
||||
return Status(StatusCode::Invalid, "Couldn't convert to buffer.", detail);
|
||||
return Status(StatusCode::Invalid, "", detail);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -150,7 +150,7 @@ Status PassPyError() {
|
||||
// Do not call PyErr_Clear, the assumption is that someone further
|
||||
// up the call stack will want to deal with the Python error.
|
||||
auto detail = std::make_shared<PythonErrorDetail>();
|
||||
return Status(StatusCode::UnknownError, "Python Error", detail);
|
||||
return Status(StatusCode::UnknownError, "", detail);
|
||||
}
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user