1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

Consider folder closed when retrying operation failed

This commit is contained in:
M66B 2020-03-31 09:20:54 +02:00
parent 611babe7db
commit 9a6bebe2a0

View file

@ -504,6 +504,8 @@ class Core {
if (ops.size() == 0)
state.batchCompleted(folder.id, priority, sequence);
else
state.error(new FolderClosedException(ifolder));
} finally {
Log.i(folder.name + " end process state=" + state + " pending=" + ops.size());
}