get specific error for elastic search record parsing error
This commit is contained in:
parent
a9a0526bcf
commit
1545f3900f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue