Added logging

This commit is contained in:
M66B 2021-01-01 08:35:08 +01:00
parent b8ebe4395d
commit a87c458336
1 changed files with 3 additions and 1 deletions

View File

@ -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);