Skip to content

Commit 077563d

Browse files
authored
Fix panic on close (#370)
1 parent b54d0c0 commit 077563d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/cmd/stack/open_command.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ func findAndOpenStackInBrowser(ctx context.Context, p *stackSearchParams) error
6666
if errors.Is(err, errNoStackFound) {
6767
return errors.New("No stacks using the provided search parameters, maybe it's in a different subdir?")
6868
}
69+
if err != nil {
70+
return err
71+
}
6972

7073
return browser.OpenURL(authenticated.Client().URL(
7174
"/stack/%s",

0 commit comments

Comments
 (0)