diff --git a/legacy/src/openai-auth.ts b/legacy/src/openai-auth.ts index 476c6119..7f98e49e 100644 --- a/legacy/src/openai-auth.ts +++ b/legacy/src/openai-auth.ts @@ -231,14 +231,12 @@ async function checkForChatGPTAtCapacity(page: Page) { try { res = await page.$('[role="alert"]') - console.log('capacity text', res) } catch (err) { // ignore errors likely due to navigation - console.warn(err.toString()) } if (res) { - const error = new types.ChatGPTError('ChatGPT is at capacity') + const error = new types.ChatGPTError(`ChatGPT is at capacity: ${res}`) error.statusCode = 503 throw error }