hide red herring sync errors
This commit is contained in:
parent
4790925929
commit
dbfaf7fa72
|
@ -708,6 +708,9 @@ class Client {
|
||||||
onError.add(exception);
|
onError.add(exception);
|
||||||
await Future.delayed(Duration(seconds: syncErrorTimeoutSec), _sync);
|
await Future.delayed(Duration(seconds: syncErrorTimeoutSec), _sync);
|
||||||
} catch (e, s) {
|
} catch (e, s) {
|
||||||
|
if (isLogged() == false || _disposed) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
print('Error during processing events: ' + e.toString());
|
print('Error during processing events: ' + e.toString());
|
||||||
print(s);
|
print(s);
|
||||||
onSyncError.add(SyncError(
|
onSyncError.add(SyncError(
|
||||||
|
|
Loading…
Reference in a new issue