aboutsummaryrefslogtreecommitdiffstats
path: root/worker/notmuch/events.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-02-04 09:14:53 +0100
committerRobin Jarry <robin@jarry.cc>2022-02-06 16:04:15 +0100
commita46468521bf8a6d7f6f0d8f0728eb99d599d2ccf (patch)
tree5f535acde5f515a369cb43b73e4be786a4ad3024 /worker/notmuch/events.go
parent9fba8d9cbd4d8543fd35bddc0d64cc6f1a96ce00 (diff)
downloadaerc-a46468521bf8a6d7f6f0d8f0728eb99d599d2ccf.tar.gz
imap: do not abort on malformed messages
Some messages contain invalid headers, textproto.ReadHeader fails with an error: malformed MIME header key: From nobody Fri Jan 14 19 And all other messages of the selected folder are ignored. Return an explicit error message to the UI and continue processing other messages. This is consistent with what the maildir worker does. Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/notmuch/events.go')
0 files changed, 0 insertions, 0 deletions