diff --git a/src/main.rs b/src/main.rs index b3035c3..3549230 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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() })