Surface 'Program account allocation failed' error details
This commit is contained in:
committed by
mergify[bot]
parent
dd752fcc5e
commit
eec3d25ab9
@ -1271,8 +1271,8 @@ fn process_deploy(
|
|||||||
config.commitment,
|
config.commitment,
|
||||||
config.send_transaction_config,
|
config.send_transaction_config,
|
||||||
);
|
);
|
||||||
log_instruction_custom_error::<SystemError>(result, &config).map_err(|_| {
|
log_instruction_custom_error::<SystemError>(result, &config).map_err(|err| {
|
||||||
CliError::DynamicProgramError("Program account allocation failed".to_string())
|
CliError::DynamicProgramError(format!("Program account allocation failed: {}", err))
|
||||||
})?;
|
})?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user