This commit is contained in:
Irevoire 2022-10-22 17:06:20 +02:00 committed by Clément Renault
parent 1d04ce611d
commit 735a5da257
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -260,10 +260,7 @@ async fn document_addition(
match index_scheduler.delete_update_file(uuid) { match index_scheduler.delete_update_file(uuid) {
Ok(()) => (), Ok(()) => (),
Err(index_scheduler::Error::FileStore(file_store::Error::IoError(e))) Err(index_scheduler::Error::FileStore(file_store::Error::IoError(e)))
if e.kind() == ErrorKind::NotFound => if e.kind() == ErrorKind::NotFound => {}
{
}
Err(e) => { Err(e) => {
log::warn!("Unknown error happened while deleting a malformed update file with uuid {uuid}: {e}"); log::warn!("Unknown error happened while deleting a malformed update file with uuid {uuid}: {e}");
} }