Simplification

This commit is contained in:
M66B 2019-12-09 08:37:08 +01:00
parent d903e3636d
commit 0c2c0d2f4c
2 changed files with 3 additions and 3 deletions

View File

@ -97,6 +97,7 @@ import javax.mail.FolderClosedException;
import javax.mail.MessageRemovedException;
import javax.mail.MessagingException;
import javax.mail.Part;
import javax.mail.StoreClosedException;
import javax.mail.internet.InternetAddress;
public class Log {
@ -543,7 +544,8 @@ public class Log {
if (ex instanceof ConnectionException)
return null;
if (ex instanceof FolderClosedException || ex instanceof FolderClosedIOException)
if (ex instanceof StoreClosedException ||
ex instanceof FolderClosedException || ex instanceof FolderClosedIOException)
return null;
if (ex instanceof IllegalStateException &&

View File

@ -1179,8 +1179,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
}
Log.i(account.name + " done state=" + state);
} catch (StoreClosedException ex) {
Log.w(account.name, ex);
} catch (Throwable ex) {
Log.e(account.name, ex);
EntityLog.log(