1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 22:21:18 +00:00

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

View file

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