Skip to content

Commit

Permalink
handle error creating apps
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldwan committed Mar 4, 2021
1 parent 8295b20 commit 824a66b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/launch.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ func runLaunch(cmdctx *cmdctx.CmdContext) error {
}

app, err := cmdctx.Client.API().CreateApp(appName, org.ID, &region.Code)
if err != nil {
return err
}
appConfig.Definition = app.Config.Definition

cmdctx.AppName = app.Name
Expand Down

0 comments on commit 824a66b

Please sign in to comment.