summaryrefslogtreecommitdiff
path: root/packages/core/src/utils/quotaErrorDetection.ts
diff options
context:
space:
mode:
authorTommaso Sciortino <[email protected]>2025-07-21 13:44:43 -0700
committerGitHub <[email protected]>2025-07-21 20:44:43 +0000
commitd7a57d85a39535e84bba7e65eb02dcb627b9cb81 (patch)
tree6e2a91cc7456429ee73f4d4a189b6632f7b45f5d /packages/core/src/utils/quotaErrorDetection.ts
parentf95674e6464659d6f8050215261d96ec44ea2fb1 (diff)
Simplify streaming code for code assist server (#4619)
Diffstat (limited to 'packages/core/src/utils/quotaErrorDetection.ts')
-rw-r--r--packages/core/src/utils/quotaErrorDetection.ts9
1 files changed, 0 insertions, 9 deletions
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;
}