mirror of https://github.com/vector-im/riot-web
Log errors from other login attempts
parent
6874f313e3
commit
5ea19e2751
|
@ -159,6 +159,7 @@ export default class Login {
|
|||
accessToken: data.access_token,
|
||||
});
|
||||
}).catch((fallback_error) => {
|
||||
console.log("fallback HS login failed", fallback_error);
|
||||
// throw the original error
|
||||
throw originalError;
|
||||
});
|
||||
|
@ -179,6 +180,7 @@ export default class Login {
|
|||
accessToken: data.access_token,
|
||||
});
|
||||
}).catch((fallback_error) => {
|
||||
console.log("Lowercase username login failed", fallback_error);
|
||||
// throw the original error
|
||||
throw originalError;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue