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