mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
Fail safe
This commit is contained in:
parent
71d7aff793
commit
77b1c27bcc
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue