mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-12 09:18:25 +03:00
fix: improve debugging for kai reauth
This commit is contained in:
@@ -57,7 +57,9 @@ export function CreateKaiReauthFunction(
|
||||
|
||||
/* istanbul ignore next */
|
||||
if (res.status !== 200) {
|
||||
logger.error(`Unexpected ${res.status} error while fetching reauth?`, { res });
|
||||
const text = await res.text();
|
||||
|
||||
logger.error(`Unexpected ${res.status} error while fetching reauth?`, { res, text });
|
||||
throw new ScoreImportFatalError(
|
||||
500,
|
||||
"An error has occured while attempting reauthentication."
|
||||
|
||||
Reference in New Issue
Block a user