Skip to content

Commit

Permalink
test: do not override status for mutate rows (#2456)
Browse files Browse the repository at this point in the history
  • Loading branch information
mutianf authored Dec 17, 2024
1 parent a039489 commit 86ee1f5
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,13 @@ public void bulkMutateRows(
.build());
}
responseObserver.onNext(
resultBuilder.setStatus(com.google.rpc.Status.getDefaultInstance()).build());
resultBuilder
.setStatus(
com.google.rpc.Status.newBuilder()
.setCode(e.getStatusCode().getCode().ordinal())
.setMessage(e.getMessage())
.build())
.build());
responseObserver.onCompleted();
return;
} catch (ApiException e) {
Expand Down

0 comments on commit 86ee1f5

Please sign in to comment.