Skip to content

Commit

Permalink
actually return catch result (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
jabbink committed Aug 7, 2016
1 parent e1d2d15 commit ef1f52f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -792,8 +792,7 @@ public CatchResult call(ByteString result) {
if (response.getStatus() == CatchStatus.CATCH_ESCAPE) {
api.getInventories().updateInventories();
}
CatchResult res = new CatchResult();
res.setStatus(response.getStatus());
CatchResult res = new CatchResult(response);
return res;
} catch (RemoteServerException e) {
throw new AsyncRemoteServerException(e);
Expand Down

0 comments on commit ef1f52f

Please sign in to comment.