From 41382a558b94eb175a14ec7b51233225f4003218 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Mon, 14 Sep 2020 11:09:50 -0500 Subject: [PATCH] better err --- pkg/cmd/gist/edit/edit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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