mirror of https://github.com/M66B/FairEmail.git
Suppress some more common exceptions
This commit is contained in:
parent
a7a2322913
commit
601be58d56
|
@ -199,7 +199,10 @@ public class ApplicationEx extends Application {
|
|||
|
||||
if (ex instanceof MessagingException &&
|
||||
("connection failure".equals(ex.getMessage()) ||
|
||||
"failed to create new store connection".equals(ex.getMessage())))
|
||||
"failed to create new store connection".equals(ex.getMessage()) ||
|
||||
"Failed to fetch headers".equals(ex.getMessage()) ||
|
||||
"Failed to load IMAP envelope".equals(ex.getMessage()) ||
|
||||
"Unable to load BODYSTRUCTURE".equals(ex.getMessage())))
|
||||
return false;
|
||||
|
||||
if (ex instanceof IllegalStateException &&
|
||||
|
|
Loading…
Reference in New Issue