Fix typo in error message (#330)

Signed-off-by: Peng Guanwen <pg999w@outlook.com>
This commit is contained in:
Peng Guanwen 2021-11-18 12:56:36 +08:00 committed by GitHub
parent 7d47010874
commit 75a700f034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -975,7 +975,7 @@ public class RegionStoreClient extends AbstractRegionStoreClient {
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()) {