mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Filter some more exceptions
This commit is contained in:
parent
ca266fd125
commit
9508f5d7ec
1 changed files with 5 additions and 2 deletions
|
@ -228,6 +228,7 @@ public class Log {
|
|||
|
||||
ignore.add("com.sun.mail.util.MailConnectException");
|
||||
|
||||
ignore.add("android.accounts.AuthenticatorException");
|
||||
ignore.add("android.accounts.OperationCanceledException");
|
||||
ignore.add("android.app.RemoteServiceException");
|
||||
|
||||
|
@ -242,10 +243,11 @@ public class Log {
|
|||
ignore.add("java.net.UnknownHostException");
|
||||
|
||||
ignore.add("javax.mail.AuthenticationFailedException");
|
||||
ignore.add("javax.mail.FolderClosedException");
|
||||
ignore.add("javax.mail.internet.AddressException");
|
||||
ignore.add("javax.mail.MessageRemovedException");
|
||||
ignore.add("javax.mail.FolderNotFoundException");
|
||||
ignore.add("javax.mail.ReadOnlyFolderException");
|
||||
ignore.add("javax.mail.FolderClosedException");
|
||||
ignore.add("javax.mail.StoreClosedException");
|
||||
|
||||
ignore.add("org.xmlpull.v1.XmlPullParserException");
|
||||
|
@ -295,7 +297,8 @@ public class Log {
|
|||
return false;
|
||||
|
||||
if (ex instanceof IOException &&
|
||||
"Resetting to invalid mark".equals(ex.getMessage()))
|
||||
("NetworkError".equals(ex.getMessage()) || // account manager
|
||||
"Resetting to invalid mark".equals(ex.getMessage())))
|
||||
return false;
|
||||
|
||||
// Rate limit
|
||||
|
|
Loading…
Reference in a new issue