aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/msgviewer.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/msgviewer.go')
-rw-r--r--widgets/msgviewer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index d5d1d279..126bf85b 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -667,7 +667,7 @@ func (pv *PartViewer) attemptCopy() {
// if it's binary we have to rely on the filter to be sane
_, err := io.Copy(pv.sink, pv.source)
if err != nil {
- logging.Warnf("failed to copy: %w", err)
+ logging.Warnf("failed to copy: %v", err)
}
}
pv.sink.Close()