get specific error for elastic search record parsing error

This commit is contained in:
Enrico Ottonello 2021-05-31 16:43:21 +02:00
parent a9a0526bcf
commit 1545f3900f
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ public class BulkUpload {
// log.info("Indexing to ES completed with status: " + bulkResponse.status());
if (bulkResponse.hasFailures()) {
log.error("FailureMessage: " + bulkResponse.buildFailureMessage());
esResponseCode = -7;
}
}
else {