Propagate exception

This commit is contained in:
M66B 2021-12-01 17:59:25 +01:00
parent b1c5951c14
commit 5adc82f57b
1 changed files with 1 additions and 1 deletions

View File

@ -1947,7 +1947,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
folder.name + " process " + Log.formatThrowable(ex, false));
db.folder().setFolderError(folder.id, Log.formatThrowable(ex));
if (!(ex instanceof FolderNotFoundException))
state.error(new OperationCanceledException("Process"));
state.error(new Core.OperationCanceledExceptionEx("Process", ex));
} finally {
if (shouldClose) {
if (ifolder != null && ifolder.isOpen()) {