mirror of https://github.com/M66B/FairEmail.git
Added logging
This commit is contained in:
parent
b8ebe4395d
commit
a87c458336
|
@ -2456,8 +2456,10 @@ public class MessageHelper {
|
||||||
String[] c = part.getHeader("Content-type");
|
String[] c = part.getHeader("Content-type");
|
||||||
if (c != null && c.length > 0) {
|
if (c != null && c.length > 0) {
|
||||||
ContentType ct = new ContentType(c[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;
|
contentType = ct;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} catch (MessagingException ex) {
|
} catch (MessagingException ex) {
|
||||||
Log.w(ex);
|
Log.w(ex);
|
||||||
|
|
Loading…
Reference in New Issue