Log errors from other login attempts

pull/21833/head
David Baker 2017-10-30 17:15:27 +00:00
parent 6874f313e3
commit 5ea19e2751
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,7 @@ export default class Login {
accessToken: data.access_token, accessToken: data.access_token,
}); });
}).catch((fallback_error) => { }).catch((fallback_error) => {
console.log("fallback HS login failed", fallback_error);
// throw the original error // throw the original error
throw originalError; throw originalError;
}); });
@ -179,6 +180,7 @@ export default class Login {
accessToken: data.access_token, accessToken: data.access_token,
}); });
}).catch((fallback_error) => { }).catch((fallback_error) => {
console.log("Lowercase username login failed", fallback_error);
// throw the original error // throw the original error
throw originalError; throw originalError;
}); });