Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ignore NotFound errors in automatic error handling.

  • Loading branch information...
commit 0f9f52d6f04b29fb878ceb3be3b3f207f232d748 1 parent 65b8e1b
@justmoon justmoon authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/cpp/handle.cc
View
3  src/cpp/handle.cc
@@ -94,7 +94,8 @@ class JHandle::OpAsync {
if ((error.IsEmpty() || error->IsNull()) &&
(result.IsEmpty() || result->IsNull()) &&
- !op->status_.ok()) {
+ !op->status_.ok() &&
+ !op->status_.IsNotFound()) {
error = Exception::Error(String::New(op->status_.ToString().c_str()));
}
Please sign in to comment.
Something went wrong with that request. Please try again.