forked from mystiq/hydrogen-web
remove double negation
This commit is contained in:
parent
a7ceabad37
commit
7f0d36cf79
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue