1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 10:47:28 +00:00

Illegal argument exception on invalid multipart

This commit is contained in:
M66B 2021-02-04 20:40:15 +01:00
parent db4000081f
commit 9099bb036e

View file

@ -2438,7 +2438,7 @@ public class MessageHelper {
String sample = text.substring(0, Math.min(200, text.length()));
throw new ParseException(content.getClass().getName() + ": " + sample);
} else
throw new ParseException(content.getClass().getName());
throw new IllegalArgumentException(content.getClass().getName());
boolean other = false;
List<Part> plain = new ArrayList<>();