Small improvements

pull/156/head
M66B 5 years ago
parent a86a92d7b7
commit 2a7195b855

@ -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");
}

Loading…
Cancel
Save