|
@ -637,8 +637,7 @@ public class ServiceSynchronize extends LifecycleService { |
|
|
Log.e(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex)); |
|
|
Log.e(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex)); |
|
|
reportError(account.name, folder.name, ex); |
|
|
reportError(account.name, folder.name, ex); |
|
|
|
|
|
|
|
|
if (!(ex instanceof IllegalStateException) && !(ex instanceof FolderClosedException)) |
|
|
|
|
|
db.folder().setFolderError(folder.id, Helper.formatThrowable(ex)); |
|
|
|
|
|
|
|
|
db.folder().setFolderError(folder.id, Helper.formatThrowable(ex)); |
|
|
|
|
|
|
|
|
synchronized (state) { |
|
|
synchronized (state) { |
|
|
state.notifyAll(); |
|
|
state.notifyAll(); |
|
|