Handle folder not found for offline operations

This commit is contained in:
M66B 2019-08-10 08:21:23 +02:00
parent b7dcc7d1b2
commit c01293a53c
1 changed files with 3 additions and 0 deletions

View File

@ -1076,6 +1076,9 @@ public class ServiceSynchronize extends ServiceBase {
iservice.getStore(), ifolder,
state);
} catch (FolderNotFoundException ex) {
Log.w(ex);
db.folder().deleteFolder(folder.id);
} catch (Throwable ex) {
Log.e(folder.name, ex);
EntityLog.log(