Added logging

This commit is contained in:
M66B 2019-06-14 16:23:44 +02:00
parent c6b977b5e7
commit a4fd99414b
1 changed files with 2 additions and 0 deletions

View File

@ -831,6 +831,7 @@ public class MessageHelper {
String getHtml(Context context) throws MessagingException, IOException {
if (plain == null && html == null) {
Log.i("No body part");
warnings.add(context.getString(R.string.title_no_body));
return null;
}
@ -841,6 +842,7 @@ public class MessageHelper {
try {
Object content = part.getContent();
Log.i("Content class=" + (content == null ? null : content.getClass().getName()));
if (content instanceof String)
result = (String) content;
else if (content instanceof InputStream)