mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 10:45:51 +03:00
Log errors from other login attempts
This commit is contained in:
parent
6874f313e3
commit
5ea19e2751
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue