mirror of https://github.com/M66B/FairEmail.git
Reduced logging
This commit is contained in:
parent
8edc9b0bd4
commit
636222b2f2
|
@ -3222,12 +3222,14 @@ public class MessageHelper {
|
|||
m.append(content.getClass().getName());
|
||||
|
||||
String msg = "Expected " + h.contentType + " got " + m + " result=" + (result != null);
|
||||
|
||||
if (result == null) {
|
||||
Log.e(msg);
|
||||
warnings.add(msg);
|
||||
|
||||
if (result == null)
|
||||
result = Helper.readStream(h.part.getInputStream(),
|
||||
cs == null ? StandardCharsets.ISO_8859_1 : cs);
|
||||
} else
|
||||
Log.w(msg);
|
||||
}
|
||||
} catch (DecodingException ex) {
|
||||
Log.e(ex);
|
||||
|
|
Loading…
Reference in New Issue