chore: log failed path updates immediately

feat/vaults
Tomáš Mládek 2022-08-07 12:35:49 +02:00
parent 3f6d239686
commit 600918a27e
1 changed files with 4 additions and 1 deletions

View File

@ -162,7 +162,10 @@ fn rescan_vault_inner<D: Borrow<UpEndDatabase>>(
match result {
Ok(result) => result,
Err(error) => UpdatePathOutcome::Failed(path, error),
Err(error) => {
error!("Failed to update {:?} ({})", path, error);
UpdatePathOutcome::Failed(path, error)
}
}
})
.collect();