Introduce Web Token login (follow-up)

This commit is contained in:
Alexander Zinchuk 2022-11-13 18:17:21 +04:00
parent bbc0f2e871
commit 5c8e9a254e

View File

@ -88,7 +88,7 @@ async function signInUserWithWebToken(
}
} catch (err: any) {
authParams.webAuthTokenFailed();
client._log.error('Failed to login with web token', err);
client._log.error(`Failed to login with web token: ${err}`);
if (err.message === 'SESSION_PASSWORD_NEEDED') {
return signInWithPassword(client, apiCredentials, authParams);
} else {