mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
always have an error when stopping sync
This commit is contained in:
parent
9f453c0984
commit
134f018849
@ -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 New Issue
Block a user