mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
fix properties error message
This commit is contained in:
committed by
Aiden McClelland
parent
da0eecfad8
commit
4e2e65738f
@@ -41,7 +41,7 @@ pub async fn fetch_properties(ctx: RpcContext, id: PackageId) -> Result<Value, E
|
|||||||
false,
|
false,
|
||||||
)
|
)
|
||||||
.await?
|
.await?
|
||||||
.map_err(|_| Error::new(eyre!("Properties failure!"), ErrorKind::Docker))
|
.map_err(|(_, e)| Error::new(eyre!("{}", e), ErrorKind::Docker))
|
||||||
.and_then(|a| Ok(a))
|
.and_then(|a| Ok(a))
|
||||||
} else {
|
} else {
|
||||||
Ok(Value::Null)
|
Ok(Value::Null)
|
||||||
|
|||||||
Reference in New Issue
Block a user