Add op names to processing exception

pull/194/merge
M66B 4 years ago
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…
Cancel
Save