diff options
Diffstat (limited to 'worker/notmuch/message.go')
-rw-r--r-- | worker/notmuch/message.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/notmuch/message.go b/worker/notmuch/message.go index fe82700e..a51f78b3 100644 --- a/worker/notmuch/message.go +++ b/worker/notmuch/message.go @@ -49,7 +49,7 @@ func (m *Message) NewBodyPartReader(requestedParts []int) (io.Reader, error) { defer f.Close() msg, err := message.Read(f) if err != nil { - return nil, fmt.Errorf("could not read message: %v", err) + return nil, fmt.Errorf("could not read message: %w", err) } return lib.FetchEntityPartReader(msg, requestedParts) } |