Suppress "Failed to fetch headers"

This commit is contained in:
M66B 2019-09-19 16:55:36 +02:00
parent cf1039a5a9
commit 70cce65e61
1 changed files with 2 additions and 1 deletions

View File

@ -1168,7 +1168,8 @@ public class MessageHelper {
cid = apart.part.getHeader("Content-ID");
} catch (MessagingException ex) {
Log.w(ex);
parts.warnings.add(Helper.formatThrowable(ex, false));
if (!"Failed to fetch headers".equals(ex.getMessage()))
parts.warnings.add(Helper.formatThrowable(ex, false));
}
apart.attachment = new EntityAttachment();