mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
fud/download: better error when metadata is not found
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user