diff --git a/src/twitch.ts b/src/twitch.ts index f0c965a..24e6322 100644 --- a/src/twitch.ts +++ b/src/twitch.ts @@ -32,7 +32,7 @@ async function refreshApiToken(tokens: TokenPair): Promise { return true; } else { log(LogLevel.ERROR,"Refresh returned failure. Response object:"); - log(LogLevel.ERROR,res); + log(LogLevel.ERROR,JSON.stringify(await res.json(),null,2)); return false; } })