diff --git a/rslib/src/media/sync.rs b/rslib/src/media/sync.rs index 1c4564621..f320250bc 100644 --- a/rslib/src/media/sync.rs +++ b/rslib/src/media/sync.rs @@ -683,7 +683,14 @@ fn zip_files<'a>( continue; } - let file_data = data_for_file(media_folder, &file.fname)?; + let file_data = match data_for_file(media_folder, &file.fname) { + Ok(data) => data, + Err(e) => { + debug!("error accessing {}: {}", &file.fname, e); + invalid_entries.push(&file.fname); + continue; + } + }; if let Some(data) = &file_data { if data.is_empty() {