mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 12:24:26 +01:00
Simplification
This commit is contained in:
@@ -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 &&
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user