Merge branch 'soru/hide-bad-sync-errors' into 'master'

hide red herring sync errors

Closes #82

See merge request famedly/famedlysdk!375
This commit is contained in:
Christian Pauly 2020-06-29 13:33:48 +00:00
commit 00b844c118

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(