Skip to content

Commit f914d68

Browse files
committed
Fix message in BulkFailureException.
1 parent 25c9e9d commit f914d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/elasticsearch/backend/elasticsearch7/ElasticsearchRestTemplate.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ protected List<IndexedObjectInformation> checkForBulkOperationFailure(BulkRespon
326326
failedDocuments.put(item.getId(), item.getFailureMessage());
327327
}
328328
throw new BulkFailureException(
329-
"Bulk operation has failures. Use ElasticsearchException.getFailedDocuments() for detailed messages ["
329+
"Bulk operation has failures. Use BulkFailureException.getFailedDocuments() for detailed messages ["
330330
+ failedDocuments + ']',
331331
failedDocuments);
332332
}

0 commit comments

Comments
 (0)