mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 11:01:23 +01:00
Illegal argument exception on invalid multipart
This commit is contained in:
@@ -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<>();
|
||||
|
||||
Reference in New Issue
Block a user