More detailed errors when opening files

This commit is contained in:
Kirill Bulatov 2023-11-15 16:20:00 +02:00
parent c0f43d964c
commit 888098bad2
4 changed files with 6 additions and 4 deletions

View file

@ -3694,7 +3694,7 @@ impl BackgroundScanner {
}
Err(err) => {
// TODO - create a special 'error' entry in the entries tree to mark this
log::error!("error reading file on event {:?}", err);
log::error!("error reading file {abs_path:?} on event: {err:#}");
}
}
}