We're updating the issue view to help you get more done. 

Allow users to customize error handling when building documents

Description

In particular some users would like to log errors rather than throwing an exception that will make the whole Hibernate ORM transaction fail.

The ErrorHandler from Search 5 is only used later, when the documents have already been built, so it's not useful.

If we expand the scope of the ErrorHandler and also use it during document building, we should probably either allow users to configure two instances (one for document building, one for indexing works), or provide to the ErrorHandler some information about which phase failed. You probably don't want to handle errors in these two phases the same way.

Environment

None

Status

Assignee

Unassigned

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Priority

Major