1
0
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:
David Baker
2017-03-01 16:35:37 +00:00
parent d435192e22
commit a33e4477af

View File

@@ -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);
});