mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-14 17:51:44 +03:00
commands: don't forget to treat the error when selecting a bug
This commit is contained in:
parent
04ddeef90f
commit
86792d7892
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user