hide red herring sync errors

This commit is contained in:
Sorunome 2020-06-29 15:27:14 +02:00
parent 4790925929
commit dbfaf7fa72
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C
1 changed files with 3 additions and 0 deletions

View File

@ -708,6 +708,9 @@ class Client {
onError.add(exception);
await Future.delayed(Duration(seconds: syncErrorTimeoutSec), _sync);
} catch (e, s) {
if (isLogged() == false || _disposed) {
return;
}
print('Error during processing events: ' + e.toString());
print(s);
onSyncError.add(SyncError(