This commit is contained in:
Irevoire 2022-10-22 17:06:20 +02:00
parent 3a95e6291e
commit b0bfc3bdbd
No known key found for this signature in database
GPG Key ID: 7A6A970C96104F1B

View File

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