Skip to content

Commit

Permalink
try removing message
Browse files Browse the repository at this point in the history
  • Loading branch information
emkornfield committed Jun 25, 2019
1 parent 8dbf76a commit 780105e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/python/common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit 780105e

Please sign in to comment.