Log exit data
This commit is contained in:
parent
f3a39dfbbc
commit
ca7e1bcce4
|
@ -381,7 +381,7 @@ fn deploy_ws(url: &str, keypair: &str) -> Result<Vec<(Program, Pubkey)>> {
|
||||||
.output()
|
.output()
|
||||||
.expect("Must deploy");
|
.expect("Must deploy");
|
||||||
if !exit.status.success() {
|
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));
|
std::process::exit(exit.status.code().unwrap_or(1));
|
||||||
}
|
}
|
||||||
let stdout: DeployStdout = serde_json::from_str(std::str::from_utf8(&exit.stdout)?)?;
|
let stdout: DeployStdout = serde_json::from_str(std::str::from_utf8(&exit.stdout)?)?;
|
||||||
|
|
Loading…
Reference in New Issue