diff --git a/src/matrix/Sync.js b/src/matrix/Sync.js index 3bdf7d9d..51f66993 100644 --- a/src/matrix/Sync.js +++ b/src/matrix/Sync.js @@ -124,7 +124,7 @@ export class Sync { // don't run afterSyncCompleted continue; } - if (err.name !== AbortError) { + if (err.name !== "AbortError") { console.warn("stopping sync because of error"); console.error(err); this._error = err;