improvement(auth): verbose error message when GitHub repo unavailable (#1831)

This commit is contained in:
Shawn Erquhart
2018-11-02 10:29:11 -04:00
committed by GitHub
parent a0cfa1a92f
commit b60c94aa8f
8 changed files with 81 additions and 30 deletions

View File

@ -76,6 +76,7 @@ export function loginUser(credentials) {
dispatch(authenticate(user));
})
.catch(error => {
console.error(error);
dispatch(
notifSend({
message: `${error.message}`,

View File

@ -9,6 +9,7 @@ injectGlobal`
.notif__container {
z-index: 10000;
white-space: pre-wrap;
}
`;