AbstractElasticIndex: Don't mention "change" in exception message
This abstract class is used for all index types. Mentioning "change" in the error message will cause confusion. Change-Id: I3260228121a0208945ef6a14357d6c47f5345828
This commit is contained in:
@@ -151,7 +151,7 @@ abstract class AbstractElasticIndex<K, V> implements Index<K, V> {
|
|||||||
int statusCode = response.getStatusLine().getStatusCode();
|
int statusCode = response.getStatusLine().getStatusCode();
|
||||||
if (statusCode != HttpStatus.SC_OK) {
|
if (statusCode != HttpStatus.SC_OK) {
|
||||||
throw new IOException(
|
throw new IOException(
|
||||||
String.format("Failed to delete change %s in index %s: %s", c, indexName, statusCode));
|
String.format("Failed to delete %s from index %s: %s", c, indexName, statusCode));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user