Log errors from other login attempts

This commit is contained in:
David Baker 2017-10-30 17:15:27 +00:00
parent 6874f313e3
commit 5ea19e2751

View file

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