Small improvements

This commit is contained in:
M66B 2019-05-11 07:53:57 +02:00
parent a86a92d7b7
commit 2a7195b855
1 changed files with 3 additions and 2 deletions

View File

@ -800,7 +800,7 @@ public class MessageHelper {
throw new FolderClosedException(ex.getFolder(), "getHtml", ex);
} catch (Throwable ex) {
Log.w(ex);
warnings.add(ex.getMessage());
warnings.add(Helper.formatThrowable(ex));
return null;
}
@ -821,7 +821,7 @@ public class MessageHelper {
}
} catch (ParseException ex) {
Log.w(ex);
warnings.add(ex.getMessage());
warnings.add(Helper.formatThrowable(ex));
}
if (part.isMimeType("text/plain") || text) {
@ -987,6 +987,7 @@ public class MessageHelper {
ct = new ContentType(apart.part.getContentType());
} catch (ParseException ex) {
Log.w(ex);
parts.warnings.add(Helper.formatThrowable(ex));
ct = new ContentType("application/octet-stream");
}