From d7a57d85a39535e84bba7e65eb02dcb627b9cb81 Mon Sep 17 00:00:00 2001 From: Tommaso Sciortino Date: Mon, 21 Jul 2025 13:44:43 -0700 Subject: Simplify streaming code for code assist server (#4619) --- packages/core/src/utils/quotaErrorDetection.ts | 9 --------- 1 file changed, 9 deletions(-) (limited to 'packages/core/src/utils/quotaErrorDetection.ts') diff --git a/packages/core/src/utils/quotaErrorDetection.ts b/packages/core/src/utils/quotaErrorDetection.ts index b07309cd..6fe9b312 100644 --- a/packages/core/src/utils/quotaErrorDetection.ts +++ b/packages/core/src/utils/quotaErrorDetection.ts @@ -68,10 +68,6 @@ export function isProQuotaExceededError(error: unknown): boolean { }; }; if (gaxiosError.response && gaxiosError.response.data) { - console.log( - '[DEBUG] isProQuotaExceededError - checking response data:', - gaxiosError.response.data, - ); if (typeof gaxiosError.response.data === 'string') { return checkMessage(gaxiosError.response.data); } @@ -87,11 +83,6 @@ export function isProQuotaExceededError(error: unknown): boolean { } } } - - console.log( - '[DEBUG] isProQuotaExceededError - no matching error format for:', - error, - ); return false; } -- cgit v1.2.3