1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-04 10:39:25 +00:00

Suppress IllegalArgumentException for message operations

This commit is contained in:
M66B 2019-05-10 21:10:00 +02:00
parent 575dcf1a0a
commit f9da460584

View file

@ -263,7 +263,7 @@ class Core {
reportError(context, account, folder, ex);
db.operation().setOperationError(op.id, Helper.formatThrowable(ex));
if (message != null)
if (message != null && !(ex instanceof IllegalArgumentException))
db.message().setMessageError(message.id, Helper.formatThrowable(ex, true));
if (ex instanceof OutOfMemoryError ||