1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 21:55:13 +00:00

Fail safe

This commit is contained in:
M66B 2021-04-05 18:57:09 +02:00
parent 71d7aff793
commit 77b1c27bcc

View file

@ -1581,7 +1581,7 @@ public class MessageHelper {
try {
user = IDN.toASCII(user, IDN.ALLOW_UNASSIGNED);
} catch (IllegalArgumentException ex) {
} catch (Throwable ex) {
Log.e(ex);
}
@ -1589,7 +1589,7 @@ public class MessageHelper {
for (int p = 0; p < parts.length; p++)
try {
parts[p] = IDN.toASCII(parts[p], IDN.ALLOW_UNASSIGNED);
} catch (IllegalArgumentException ex) {
} catch (Throwable ex) {
Log.e(ex);
}