Log exit data

This commit is contained in:
Armani Ferrante 2021-01-20 19:04:24 -08:00
parent f3a39dfbbc
commit ca7e1bcce4
No known key found for this signature in database
GPG Key ID: D597A80BCF8E12B7
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ fn deploy_ws(url: &str, keypair: &str) -> Result<Vec<(Program, Pubkey)>> {
.output()
.expect("Must deploy");
if !exit.status.success() {
println!("There was a problem deploying.");
println!("There was a problem deploying: {:?}.", exit);
std::process::exit(exit.status.code().unwrap_or(1));
}
let stdout: DeployStdout = serde_json::from_str(std::str::from_utf8(&exit.stdout)?)?;