You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
Comment the ignoring of failures
This commit is contained in:
@@ -248,6 +248,9 @@ InteractiveAuth.prototype = {
|
||||
if (!ignoreFailure) {
|
||||
prom = prom.catch(this._completionDeferred.reject);
|
||||
} else {
|
||||
// We ignore all failures here (even non-UI auth related ones)
|
||||
// since we don't want to suddenly fail if the internet connection
|
||||
// had a blip whilst we were polling
|
||||
prom = prom.catch((error) => {
|
||||
console.log("Ignoring error from UI auth: " + error);
|
||||
});
|
||||
|
Reference in New Issue
Block a user