mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +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,
|
||||
)
|
||||
.await?
|
||||
.map_err(|_| Error::new(eyre!("Properties failure!"), ErrorKind::Docker))
|
||||
.map_err(|(_, e)| Error::new(eyre!("{}", e), ErrorKind::Docker))
|
||||
.and_then(|a| Ok(a))
|
||||
} else {
|
||||
Ok(Value::Null)
|
||||
|
||||
Reference in New Issue
Block a user