Added fail-safe

This commit is contained in:
M66B 2020-11-23 10:01:38 +01:00
parent 287332e67a
commit f3c4703fed
1 changed files with 5 additions and 1 deletions

View File

@ -964,7 +964,11 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
EntityLog.log(ServiceSynchronize.this, account.name + " notice: " + message);
// Store NOOP
iservice.getStore().isConnected();
try {
iservice.getStore().isConnected();
} catch (Throwable ex) {
Log.e(ex);
}
if ("Still here".equals(message) && !isTransient(account)) {
long now = new Date().getTime();