MetadataIndexer error mode added
acdhOeaw\acdhRepoIngest\MetadataIndexer::index()
now takes an optional third parameter allowing to set the error mode:
MetadataIndexer::ERRMODE_FAIL
the default mode in which a first HTTP 400 response generated on a repository resource creation/update breaks the import.MetadataIndexer::ERRMODE_PASS
in this mode HTTP 400 responses don't break the import but turn of the autocommit and cause an error to be thrown at the end of import. This mode allows to collect metadata problems with all resources speeding up the curation process.