mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Suppress some more common exceptions
This commit is contained in:
parent
a7a2322913
commit
601be58d56
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue