diff options
Diffstat (limited to 'commands')
-rw-r--r-- | commands/move-tab.go | 2 | ||||
-rw-r--r-- | commands/msg/forward.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/commands/move-tab.go b/commands/move-tab.go index 8648ed3d..76e5348d 100644 --- a/commands/move-tab.go +++ b/commands/move-tab.go @@ -31,7 +31,7 @@ func (MoveTab) Execute(aerc *widgets.Aerc, args []string) error { n, err := strconv.Atoi(joinedArgs) if err != nil { - return fmt.Errorf("failed to parse index argument: %v", err) + return fmt.Errorf("failed to parse index argument: %w", err) } var relative bool diff --git a/commands/msg/forward.go b/commands/msg/forward.go index ddc27910..d89667ae 100644 --- a/commands/msg/forward.go +++ b/commands/msg/forward.go @@ -85,7 +85,7 @@ func (forward) Execute(aerc *widgets.Aerc, args []string) error { if strings.Contains(to, "@") { tolist, err = mail.ParseAddressList(to) if err != nil { - return fmt.Errorf("invalid to address(es): %v", err) + return fmt.Errorf("invalid to address(es): %w", err) } } if len(tolist) > 0 { |