You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-14 19:02:33 +03:00
Log errors from other login attempts
This commit is contained in:
@@ -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;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user