mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
remove double negation
This commit is contained in:
parent
a7ceabad37
commit
7f0d36cf79
@ -120,7 +120,7 @@ export class Sync {
|
||||
}
|
||||
} catch (err) {
|
||||
this._status.set(SyncStatus.Stopped);
|
||||
if (!(err instanceof AbortError)) {
|
||||
if (err.name !== AbortError) {
|
||||
console.warn("stopping sync because of error");
|
||||
console.error(err);
|
||||
this._error = err;
|
||||
|
Loading…
Reference in New Issue
Block a user