mirror of https://github.com/M66B/FairEmail.git
Added logging
This commit is contained in:
parent
c6b977b5e7
commit
a4fd99414b
|
@ -831,6 +831,7 @@ public class MessageHelper {
|
||||||
|
|
||||||
String getHtml(Context context) throws MessagingException, IOException {
|
String getHtml(Context context) throws MessagingException, IOException {
|
||||||
if (plain == null && html == null) {
|
if (plain == null && html == null) {
|
||||||
|
Log.i("No body part");
|
||||||
warnings.add(context.getString(R.string.title_no_body));
|
warnings.add(context.getString(R.string.title_no_body));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -841,6 +842,7 @@ public class MessageHelper {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Object content = part.getContent();
|
Object content = part.getContent();
|
||||||
|
Log.i("Content class=" + (content == null ? null : content.getClass().getName()));
|
||||||
if (content instanceof String)
|
if (content instanceof String)
|
||||||
result = (String) content;
|
result = (String) content;
|
||||||
else if (content instanceof InputStream)
|
else if (content instanceof InputStream)
|
||||||
|
|
Loading…
Reference in New Issue