Skip to content

Commit

Permalink
Fix typo in error message (#330) (#340)
Browse files Browse the repository at this point in the history
Signed-off-by: Peng Guanwen <[email protected]>

Co-authored-by: Liangliang Gu <[email protected]>
Co-authored-by: ti-srebot <[email protected]>
  • Loading branch information
3 people authored Nov 22, 2021
1 parent cc0193d commit 653b638
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ public ByteString rawPutIfAbsent(
private ByteString rawPutIfAbsentHelper(RawCASResponse resp) {
if (resp == null) {
this.regionManager.onRequestFail(region);
throw new TiClientInternalException("RawPutResponse failed without a cause");
throw new TiClientInternalException("RawCASResponse failed without a cause");
}
String error = resp.getError();
if (!error.isEmpty()) {
Expand Down

0 comments on commit 653b638

Please sign in to comment.