From a87c458336a53d9b57bd04340ee753d80b09f916 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 1 Jan 2021 08:35:08 +0100 Subject: [PATCH] Added logging --- app/src/main/java/eu/faircode/email/MessageHelper.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index c0395a3ef5..5e38396cb8 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -2456,8 +2456,10 @@ public class MessageHelper { String[] c = part.getHeader("Content-type"); if (c != null && c.length > 0) { ContentType ct = new ContentType(c[0]); - if ("text/html".equalsIgnoreCase(ct.getBaseType())) + if ("text/html".equalsIgnoreCase(ct.getBaseType())) { + Log.e("Inconsistent bs=" + contentType + " header=" + ct); contentType = ct; + } } } catch (MessagingException ex) { Log.w(ex);