Skip to content

Commit

Permalink
let delete err go
Browse files Browse the repository at this point in the history
  • Loading branch information
jtong11 committed Oct 9, 2020
1 parent efee24c commit 5982696
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/store/directory/fs_directory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ impl FSDirectory {
let mut deleted_set = BTreeSet::new();
for name in pending_deletes.iter() {
let path = dir.join(name);
fs::remove_file(path)?;
if let Err(e) = fs::remove_file(path.clone()) {
info!("delete_pending_files {:?} failed. {}", path, e.to_string());
}
deleted_set.insert(name.clone());
}
for name in deleted_set {
Expand Down

0 comments on commit 5982696

Please sign in to comment.