We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41f1575 commit 28961e2Copy full SHA for 28961e2
src/cli.rs
@@ -388,6 +388,8 @@ pub enum RunDeployError {
388
PromptDeployment(#[from] PromptDeploymentError),
389
#[error("Failed to revoke profile: {0}")]
390
RevokeProfile(#[from] deploy::deploy::RevokeProfileError),
391
+ #[error("Deployment failed, rolled back to previous generation")]
392
+ Rollback
393
}
394
395
type ToDeploy<'a> = Vec<(
@@ -577,7 +579,7 @@ async fn run_deploy(
577
579
578
580
581
- break;
582
+ return Err(RunDeployError::Rollback);
583
584
succeeded.push((deploy_data, deploy_defs))
585
0 commit comments