1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Filter exception

This commit is contained in:
M66B 2020-02-04 12:42:25 +01:00
parent 690b5c5dc8
commit 5132479a76

View file

@ -301,7 +301,9 @@ public class Log {
return false;
if (ex instanceof IOException &&
("NetworkError".equals(ex.getMessage()) || // account manager
ex.getMessage() != null &&
(ex.getMessage().startsWith("HTTP status=") ||
"NetworkError".equals(ex.getMessage()) || // account manager
"Resetting to invalid mark".equals(ex.getMessage())))
return false;