You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Preserve previous error flow
This commit is contained in:
@@ -509,6 +509,7 @@ SyncApi.prototype.sync = function() {
|
||||
"Creating and storing lazy load sync filter failed",
|
||||
err,
|
||||
);
|
||||
throw err;
|
||||
}
|
||||
} else {
|
||||
debuglog("LL: lazy loading requested but not supported " +
|
||||
@@ -540,6 +541,7 @@ SyncApi.prototype.sync = function() {
|
||||
debuglog("Stored client options");
|
||||
} catch (err) {
|
||||
console.error("Storing client options failed", err);
|
||||
throw err;
|
||||
}
|
||||
|
||||
getFilter(); // Now get the filter and start syncing
|
||||
|
||||
Reference in New Issue
Block a user