mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
f5b38bd806
commit
6dbd487afc
|
@ -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 ||
|
||||
|
|
Loading…
Reference in New Issue