diff --git a/src/storage/filesystem.rs b/src/storage/filesystem.rs index b3d190c..32272ec 100644 --- a/src/storage/filesystem.rs +++ b/src/storage/filesystem.rs @@ -184,7 +184,13 @@ impl FileStorage { name: version_name, hash: hash_str, artifact: Some(artifact_url), - created: Some(entry.metadata()?.created()?.into()), + created: match entry.metadata()?.created() { + Ok(t) => Some(t.into()), + Err(e) => { + log::debug!("Failed to get created date of {}: {}", entry_path.display(), e); + None + } + }, downloads: downloads_stat, updates: updates_stat, });