diff --git a/src/main/java/org/tikv/common/region/RegionStoreClient.java b/src/main/java/org/tikv/common/region/RegionStoreClient.java index c31ea5345a6..ab4d06e9874 100644 --- a/src/main/java/org/tikv/common/region/RegionStoreClient.java +++ b/src/main/java/org/tikv/common/region/RegionStoreClient.java @@ -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()) {