diff options
Diffstat (limited to 'pkg/gui/controllers/helpers/tags_helper.go')
-rw-r--r-- | pkg/gui/controllers/helpers/tags_helper.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/controllers/helpers/tags_helper.go b/pkg/gui/controllers/helpers/tags_helper.go index 51957355a..542037fba 100644 --- a/pkg/gui/controllers/helpers/tags_helper.go +++ b/pkg/gui/controllers/helpers/tags_helper.go @@ -25,12 +25,12 @@ func (self *TagsHelper) OpenCreateTagPrompt(ref string, onCreate func()) error { if description != "" { self.c.LogAction(self.c.Tr.Actions.CreateAnnotatedTag) if err := self.c.Git().Tag.CreateAnnotated(tagName, ref, description, force); err != nil { - return self.c.Error(err) + return err } } else { self.c.LogAction(self.c.Tr.Actions.CreateLightweightTag) if err := self.c.Git().Tag.CreateLightweight(tagName, ref, force); err != nil { - return self.c.Error(err) + return err } } |