Deploy an upgradeable contract. An error occurred during deployment. How to continue deployment?

@openzeppelin/hardhat-upgrades
When deploying an upgradeable contract, there is a proxy contract and a logic contract. However, the logic contract is deployed, but the proxy logic contract fails to deploy. How can I continue the deployment instead of restarting the deployment? Restarting the deployment will cause the contract address to be inconsistent with other networks.

Can you provide the relevant code and the error you got.