Skip to content

Commit

Permalink
Merge pull request #371 from yrodiere/no-mass-indexing-ignore
Browse files Browse the repository at this point in the history
Do not ignore mass indexing failures
  • Loading branch information
yrodiere authored Nov 27, 2024
2 parents 1f3f33f + 3ceaaa8 commit a693bb2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

import org.hibernate.search.backend.elasticsearch.ElasticsearchBackend;
import org.hibernate.search.mapper.pojo.standalone.mapping.SearchMapping;
import org.hibernate.search.util.common.impl.Throwables;

import org.elasticsearch.client.Request;
import org.elasticsearch.client.RestClient;
Expand Down Expand Up @@ -253,7 +254,7 @@ private void indexAll(FailureCollector failureCollector) {
} catch (TimeoutException e) {
future.cancel(true);
} catch (ExecutionException e) {
e.getCause();
throw Throwables.toRuntimeException(e.getCause());
}
}

Expand Down

0 comments on commit a693bb2

Please sign in to comment.