fud/download: better error when metadata is not found

This commit is contained in:
epiphany
2026-01-01 17:37:30 +00:00
parent f386645ce4
commit 0a29562a3d

View File

@@ -439,7 +439,7 @@ pub async fn fetch_metadata(
// We did not find the resource
if result.is_none() {
return Err(Error::GeodeFileRouteNotFound)
return Err(Error::Custom("Metadata not found".to_string()))
}
// Insert metadata to geode using the reply