Merge branch 'sync-disable-error' into 'master'

[sync] Disable errors

See merge request famedly/famedlysdk!37
This commit is contained in:
Marcel 2019-07-19 17:22:45 +00:00
commit 0e85e4d92b

View file

@ -273,7 +273,7 @@ class Connection {
final syncResp = await _syncRequest;
if (hash != _syncRequest.hashCode) return;
if (syncResp is ErrorResponse) {
onError.add(syncResp);
//onError.add(syncResp);
await Future.delayed(Duration(seconds: syncErrorTimeoutSec), () {});
} else {
try {