1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Improved error message

This commit is contained in:
M66B 2020-06-02 08:03:04 +02:00
parent 44de85e923
commit 8b81c5d097

View file

@ -2002,7 +2002,10 @@ public class MessageHelper {
try {
contentType = new ContentType(part.getContentType());
} catch (ParseException ex) {
Log.w(ex);
if (part instanceof MimeMessage)
Log.e("MimeMessage content type=" + ex.getMessage());
else
Log.w(ex);
contentType = new ContentType(Helper.guessMimeType(filename));
}