mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Illegal argument exception on invalid multipart
This commit is contained in:
parent
db4000081f
commit
9099bb036e
1 changed files with 1 additions and 1 deletions
|
@ -2438,7 +2438,7 @@ public class MessageHelper {
|
||||||
String sample = text.substring(0, Math.min(200, text.length()));
|
String sample = text.substring(0, Math.min(200, text.length()));
|
||||||
throw new ParseException(content.getClass().getName() + ": " + sample);
|
throw new ParseException(content.getClass().getName() + ": " + sample);
|
||||||
} else
|
} else
|
||||||
throw new ParseException(content.getClass().getName());
|
throw new IllegalArgumentException(content.getClass().getName());
|
||||||
|
|
||||||
boolean other = false;
|
boolean other = false;
|
||||||
List<Part> plain = new ArrayList<>();
|
List<Part> plain = new ArrayList<>();
|
||||||
|
|
Loading…
Reference in a new issue