Simplification

pull/169/head
M66B 6 years ago
parent d903e3636d
commit 0c2c0d2f4c

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

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

Loading…
Cancel
Save