Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cargo.rs
Original file line number Diff line number Diff line change
@@ -87,7 +87,10 @@ pub fn metadata() -> Result<Metadata> {
.output()
.map_err(Error::Cargo)?;

serde_json::from_slice(&output.stdout).map_err(Error::Metadata)
serde_json::from_slice(&output.stdout).map_err(|err| {
print!("{}", String::from_utf8_lossy(&output.stderr));
Error::Metadata(err)
})
}

fn features(project: &Project) -> Vec<String> {

0 comments on commit 41f9f2f

Please sign in to comment.