mirror of https://github.com/M66B/FairEmail.git
Added logging
This commit is contained in:
parent
b8ebe4395d
commit
a87c458336
|
@ -2456,9 +2456,11 @@ 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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue