aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/msg/forward.go2
-rw-r--r--commands/msg/pipe.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/commands/msg/forward.go b/commands/msg/forward.go
index 040360ea..a3459292 100644
--- a/commands/msg/forward.go
+++ b/commands/msg/forward.go
@@ -143,7 +143,7 @@ func (forward) Execute(aerc *widgets.Aerc, args []string) error {
defer tmpFile.Close()
_, err = io.Copy(tmpFile, fm.Content.Reader)
if err != nil {
- logging.Warnf("failed to write to tmpfile: %w", err)
+ logging.Warnf("failed to write to tmpfile: %v", err)
return
}
composer, err := addTab()
diff --git a/commands/msg/pipe.go b/commands/msg/pipe.go
index 29d63baf..89dbc47c 100644
--- a/commands/msg/pipe.go
+++ b/commands/msg/pipe.go
@@ -98,7 +98,7 @@ func (Pipe) Execute(aerc *widgets.Aerc, args []string) error {
defer pipe.Close()
_, err := io.Copy(pipe, reader)
if err != nil {
- logging.Errorf("failed to send data to pipe: %w", err)
+ logging.Errorf("failed to send data to pipe: %v", err)
}
}()
err = ecmd.Run()