mirror of https://github.com/M66B/FairEmail.git
Add op names to processing exception
This commit is contained in:
parent
0d248e9265
commit
c3703c32cf
|
@ -750,8 +750,12 @@ class Core {
|
|||
}
|
||||
}
|
||||
|
||||
if (ops.size() != 0 && state.getSerial() == serial)
|
||||
state.error(new OperationCanceledException("Processing"));
|
||||
if (ops.size() != 0 && state.getSerial() == serial) {
|
||||
List<String> names = new ArrayList<>();
|
||||
for (EntityOperation op : ops)
|
||||
names.add(op.name);
|
||||
state.error(new OperationCanceledException("Processing " + TextUtils.join(",", names)));
|
||||
}
|
||||
} finally {
|
||||
Log.i(folder.name + " end process state=" + state + " pending=" + ops.size());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue