mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-18 21:28:54 +00:00
Improved error reporting
This commit is contained in:
parent
9382b98a63
commit
d56ff5ffde
1 changed files with 3 additions and 2 deletions
|
@ -592,9 +592,10 @@ public class MessageHelper {
|
|||
}
|
||||
|
||||
Address[] getListPost() throws MessagingException {
|
||||
String list = null;
|
||||
try {
|
||||
// https://www.ietf.org/rfc/rfc2369.txt
|
||||
String list = imessage.getHeader("List-Post", null);
|
||||
list = imessage.getHeader("List-Post", null);
|
||||
if (list == null)
|
||||
return null;
|
||||
|
||||
|
@ -613,7 +614,7 @@ public class MessageHelper {
|
|||
|
||||
return new Address[]{new InternetAddress(mailto.getTo().split(",")[0])};
|
||||
} catch (android.net.ParseException ex) {
|
||||
Log.w(ex);
|
||||
Log.w(new IllegalArgumentException(list, ex));
|
||||
return null;
|
||||
} catch (AddressException ex) {
|
||||
Log.w(ex);
|
||||
|
|
Loading…
Reference in a new issue