commands: don't forget to treat the error when selecting a bug

This commit is contained in:
Michael Muré 2018-09-26 16:49:42 +02:00
parent 04ddeef90f
commit 86792d7892
No known key found for this signature in database
GPG Key ID: A4457C029293126F

View File

@ -27,7 +27,10 @@ func runSelect(cmd *cobra.Command, args []string) error {
return err
}
_select.Select(backend, b.Id())
err = _select.Select(backend, b.Id())
if err != nil {
return err
}
fmt.Printf("selected bug %s: %s\n", b.HumanId(), b.Snapshot().Title)