Skip to content
Snippets Groups Projects
Commit e6dce52b authored by Brian Lewis's avatar Brian Lewis
Browse files

Flesh out other failure condition

parent e4a95506
No related branches found
Tags 0.5.0
2 merge requests!2Ingest different DRS formats,!1Ingest
Pipeline #16354 passed
......@@ -105,7 +105,8 @@ pub async fn ingest<P: AsRef<Path>>(
/// This handles crawling the structure's `root_dir` and ingesting any files it finds there are valid for the structure.
/// This inserts the files it finds into both files and latest collection within solr.
///
/// Invalid files, whatever the reason they're invalid, will be skipped.
/// Invalid files, whatever the reason they're invalid, will be skipped. Failing to send to solr will result in this
/// ending early with an error. Any files that were already sent to solr will not be cleaned up.
async fn ingest_structure(
solr: Solr,
structure: Structure,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment