mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-16 16:21:27 -07:00
Unused error variables in catch block are not allowed (#24487)
This commit is contained in:
@@ -59,7 +59,7 @@ export function sanitizeAdminSettings(
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (_e) {
|
||||
} catch {
|
||||
// Ignore parsing errors
|
||||
}
|
||||
}
|
||||
|
||||
@@ -491,7 +491,7 @@ export class CodeAssistServer implements ContentGenerator {
|
||||
const chunk = bufferedLines.join('\n');
|
||||
try {
|
||||
yield JSON.parse(chunk);
|
||||
} catch (_e) {
|
||||
} catch {
|
||||
if (server.config) {
|
||||
logInvalidChunk(
|
||||
server.config,
|
||||
|
||||
Reference in New Issue
Block a user