feature/logging #5

Merged
cameron merged 4 commits from feature/logging into master 2021-02-25 15:26:48 +00:00
Showing only changes of commit e0d2a14d0f - Show all commits

View File

@@ -275,9 +275,9 @@ fn create_thumbnails() {
!thumb_path.exists()
})
.map(|entry| (image::open(entry.path()), entry.path().to_path_buf()))
.filter(|(img, _)| {
.filter(|(img, path)| {
if let Err(e) = img {
error!("Unable to open image: {}", e);
error!("Unable to open image: {:?}. {}", path, e);
}
img.is_ok()
})