Skip to content

Commit

Permalink
Should call onFail if presave fail when calling lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
carmenlau committed Feb 21, 2019
1 parent 45b7c9c commit bba201d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skygear/src/main/java/io/skygear/skygear/Container.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public void onSuccess(List result) {

@Override
public void onFailure(Error error) {

responseHandler.onFail(error);
}
});
}
Expand Down Expand Up @@ -265,7 +265,7 @@ public void onSuccess(Map result) {

@Override
public void onFailure(Error error) {

responseHandler.onFail(error);
}
});
}
Expand Down

0 comments on commit bba201d

Please sign in to comment.