Fix checkJoined exception handling
Replace with something like:
if (token == null) {
return [unknownStatus('Please login'), null]
}
try {
const loginInfo = await getAccountClient().getLoginInfoByToken()
if (loginInfo.token == null) {
return [unknownStatus('Please login'), null]
}
} catch (err: any) {
return [unknownStatus('Please login'), null]
}
Connected to Huly®: UBERF-10587
checkJoined no longer makes an unguarded account call. The getLoginInfoByToken() call outside the try/catch was removed in #8945, and the current implementation wraps the whole checkJoin request in try/catch and returns nothing on failure (#10507). This looks resolved, so the issue could be closed.
@lexiv0re — based on the check described above, this looks resolved in the current code. Could you please close this issue if you agree? If you think it is not fixed yet, please describe what still goes wrong (steps, expected vs. actual behaviour), so it can be looked at again.