mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Improved error message
This commit is contained in:
parent
593d399252
commit
6fce3c8fdd
1 changed files with 14 additions and 4 deletions
|
@ -2368,8 +2368,13 @@ public class MessageHelper {
|
|||
parts.attachments.add(apart);
|
||||
|
||||
return parts;
|
||||
} else
|
||||
Log.e(ct + " parts=" + multipart.getCount());
|
||||
} else {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(ct);
|
||||
for (int i = 0; i < multipart.getCount(); i++)
|
||||
sb.append(' ').append(i).append('=').append(multipart.getBodyPart(i).getContentType());
|
||||
Log.e(sb.toString());
|
||||
}
|
||||
} else
|
||||
Log.e(ct.toString());
|
||||
} else if (part.isMimeType("multipart/encrypted")) {
|
||||
|
@ -2381,8 +2386,13 @@ public class MessageHelper {
|
|||
// Ignore header
|
||||
getMessageParts(multipart.getBodyPart(1), parts, EntityAttachment.PGP_MESSAGE);
|
||||
return parts;
|
||||
} else
|
||||
Log.e(ct + " parts=" + multipart.getCount());
|
||||
} else {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(ct);
|
||||
for (int i = 0; i < multipart.getCount(); i++)
|
||||
sb.append(' ').append(i).append('=').append(multipart.getBodyPart(i).getContentType());
|
||||
Log.e(sb.toString());
|
||||
}
|
||||
} else
|
||||
Log.e(ct.toString());
|
||||
} else if (part.isMimeType("application/pkcs7-mime") ||
|
||||
|
|
Loading…
Reference in a new issue