diff --git a/pkg/cmd/gist/edit/edit.go b/pkg/cmd/gist/edit/edit.go index de94d09c7..3caf69b34 100644 --- a/pkg/cmd/gist/edit/edit.go +++ b/pkg/cmd/gist/edit/edit.go @@ -152,7 +152,7 @@ func editRun(opts *EditOptions) error { }, &choice) if err != nil { - return err + return fmt.Errorf("could not prompt: %w", err) } stop := false