mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Added fail-safe
This commit is contained in:
parent
287332e67a
commit
f3c4703fed
1 changed files with 5 additions and 1 deletions
|
@ -964,7 +964,11 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
EntityLog.log(ServiceSynchronize.this, account.name + " notice: " + message);
|
EntityLog.log(ServiceSynchronize.this, account.name + " notice: " + message);
|
||||||
|
|
||||||
// Store NOOP
|
// Store NOOP
|
||||||
iservice.getStore().isConnected();
|
try {
|
||||||
|
iservice.getStore().isConnected();
|
||||||
|
} catch (Throwable ex) {
|
||||||
|
Log.e(ex);
|
||||||
|
}
|
||||||
|
|
||||||
if ("Still here".equals(message) && !isTransient(account)) {
|
if ("Still here".equals(message) && !isTransient(account)) {
|
||||||
long now = new Date().getTime();
|
long now = new Date().getTime();
|
||||||
|
|
Loading…
Reference in a new issue