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

View file

@ -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(