Filter some more exceptions

pull/172/head
M66B 5 years ago
parent ca266fd125
commit 9508f5d7ec

@ -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…
Cancel
Save