mirror of https://github.com/M66B/FairEmail.git
Ignore bad notification posted
This commit is contained in:
parent
586db9d9ba
commit
da839c8857
|
@ -372,6 +372,9 @@ public class ApplicationEx extends Application {
|
||||||
if (ex instanceof NoSuchMethodError)
|
if (ex instanceof NoSuchMethodError)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (ex.getMessage() != null && ex.getMessage().startsWith("Bad notification posted"))
|
||||||
|
return false;
|
||||||
|
|
||||||
if (ex instanceof TimeoutException &&
|
if (ex instanceof TimeoutException &&
|
||||||
ex.getMessage() != null &&
|
ex.getMessage() != null &&
|
||||||
ex.getMessage().startsWith("com.sun.mail.imap.IMAPStore.finalize"))
|
ex.getMessage().startsWith("com.sun.mail.imap.IMAPStore.finalize"))
|
||||||
|
|
Loading…
Reference in New Issue