diff --git a/src/main/java/org/tikv/common/region/RegionStoreClient.java b/src/main/java/org/tikv/common/region/RegionStoreClient.java index 1c0632d5b78..db54e581327 100644 --- a/src/main/java/org/tikv/common/region/RegionStoreClient.java +++ b/src/main/java/org/tikv/common/region/RegionStoreClient.java @@ -975,7 +975,7 @@ private void rawCompareAndSetHelper( throws RawCASConflictException { 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()) {