mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
parent
d903e3636d
commit
0c2c0d2f4c
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue