forked from mystiq/hydrogen-web
always have an error when stopping sync
This commit is contained in:
parent
9f453c0984
commit
134f018849
1 changed files with 1 additions and 1 deletions
|
@ -124,10 +124,10 @@ export class Sync {
|
|||
// don't run afterSyncCompleted
|
||||
continue;
|
||||
}
|
||||
this._error = err;
|
||||
if (err.name !== "AbortError") {
|
||||
console.warn("stopping sync because of error");
|
||||
console.error(err);
|
||||
this._error = err;
|
||||
}
|
||||
this._status.set(SyncStatus.Stopped);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue