[sync] Disable errors

This commit is contained in:
Christian Pauly 2019-07-18 20:03:49 +02:00
parent 0fb76874e6
commit 6d664a9073

View file

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