Reduced logging

pull/208/head
M66B 3 years ago
parent 9e35d87438
commit a547cd8c44

@ -2103,8 +2103,10 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
} }
} catch (Throwable ex) { } catch (Throwable ex) {
if (ex instanceof OperationCanceledException) if (ex instanceof OperationCanceledException ||
Log.i(folder.name, ex); (ex instanceof IllegalStateException &&
"Folder not open".equals(ex.getMessage())))
Log.i(folder.name, ex); // Illegal state: getMessageCount
else else
Log.e(folder.name, ex); Log.e(folder.name, ex);
EntityLog.log(ServiceSynchronize.this, EntityLog.Type.Account, folder, EntityLog.log(ServiceSynchronize.this, EntityLog.Type.Account, folder,

Loading…
Cancel
Save