Prevent crash

pull/194/merge
M66B 3 years ago
parent 20040f3325
commit 2a5bf1dae7

@ -1916,7 +1916,8 @@ class Core {
} else {
if (imessages != null && imessages.length > 1)
Log.e(folder.name + " EXISTS messages=" + imessages.length + " retry=" + retry);
EntityLog.log(context, folder.name + " EXISTS messages=" + imessages.length);
EntityLog.log(context, folder.name +
" EXISTS messages=" + (imessages == null ? null : imessages.length));
EntityOperation.queue(context, message, EntityOperation.ADD);
}
}

Loading…
Cancel
Save