Nit: More informative error message (#9616)
This commit is contained in:
parent
5402434218
commit
6e908a1be8
|
@ -1340,8 +1340,8 @@ fn process_deploy(
|
||||||
trace!("Finalizing program account");
|
trace!("Finalizing program account");
|
||||||
rpc_client
|
rpc_client
|
||||||
.send_and_confirm_transaction_with_spinner(&mut finalize_tx, &signers)
|
.send_and_confirm_transaction_with_spinner(&mut finalize_tx, &signers)
|
||||||
.map_err(|_| {
|
.map_err(|e| {
|
||||||
CliError::DynamicProgramError("Program finalize transaction failed".to_string())
|
CliError::DynamicProgramError(format!("Program finalize transaction failed: {}", e))
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
Ok(json!({
|
Ok(json!({
|
||||||
|
|
Loading…
Reference in New Issue