mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 22:21:18 +00:00
Added logging
This commit is contained in:
parent
b8ebe4395d
commit
a87c458336
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue