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:
parent
44de85e923
commit
8b81c5d097
1 changed files with 4 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue