Sync on message add/changed/deleted error

pull/194/merge
M66B 3 years ago
parent 01f0db3b62
commit 321bd7f190

@ -1614,7 +1614,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
Log.e(folder.name, ex); Log.e(folder.name, ex);
EntityLog.log(ServiceSynchronize.this, EntityLog.log(ServiceSynchronize.this,
folder.name + " added " + Log.formatThrowable(ex, false)); folder.name + " added " + Log.formatThrowable(ex, false));
state.error(ex); EntityOperation.sync(ServiceSynchronize.this, folder.id, false);
} finally { } finally {
wlMessage.release(); wlMessage.release();
} }
@ -1630,7 +1630,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
Log.e(folder.name, ex); Log.e(folder.name, ex);
EntityLog.log(ServiceSynchronize.this, EntityLog.log(ServiceSynchronize.this,
folder.name + " removed " + Log.formatThrowable(ex, false)); folder.name + " removed " + Log.formatThrowable(ex, false));
state.error(ex); EntityOperation.sync(ServiceSynchronize.this, folder.id, false);
} finally { } finally {
wlMessage.release(); wlMessage.release();
} }
@ -1651,7 +1651,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
Log.e(folder.name, ex); Log.e(folder.name, ex);
EntityLog.log(ServiceSynchronize.this, EntityLog.log(ServiceSynchronize.this,
folder.name + " changed " + Log.formatThrowable(ex, false)); folder.name + " changed " + Log.formatThrowable(ex, false));
state.error(ex); EntityOperation.sync(ServiceSynchronize.this, folder.id, false);
} finally { } finally {
wlMessage.release(); wlMessage.release();
} }

Loading…
Cancel
Save