mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
Prevent crash
This commit is contained in:
@@ -941,7 +941,8 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
if (ex instanceof SendFailedException)
|
||||
reportError(null, folder.name, ex);
|
||||
|
||||
db.message().setMessageError(message.id, Helper.formatThrowable(ex));
|
||||
if (message != null)
|
||||
db.message().setMessageError(message.id, Helper.formatThrowable(ex));
|
||||
|
||||
if (ex instanceof MessageRemovedException ||
|
||||
ex instanceof FolderNotFoundException ||
|
||||
|
||||
Reference in New Issue
Block a user