Skip to content

Commit 8471ce2

Browse files
authored
Fixed panic if application is not found by name. (#361)
1 parent e54ae94 commit 8471ce2

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 0.0.162 (Feb 09, 2026)
2+
* Fixed panic if application is not found by name.
3+
14
# 0.0.161 (Feb 09, 2026)
25
* Added support for EKS services and jobs.
36
* Changed `nullstone push` to emit the artifact version to stdout.

cmd/app_workspace_action.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ func AppWorkspaceAction(c *cli.Context, fn AppWorkspaceFn) error {
3333
application, err := find.App(ctx, apiClient.Config, appName, "")
3434
if err != nil {
3535
return fmt.Errorf("error finding application: %w", err)
36+
} else if application == nil {
37+
return fmt.Errorf("application does not exist")
3638
}
3739
stack, err := apiClient.Stacks().Get(ctx, application.StackId, false)
3840
if err != nil {

0 commit comments

Comments
 (0)