Unused error variables in catch block are not allowed (#24487)

This commit is contained in:
Alisa
2026-04-01 21:33:07 -07:00
committed by GitHub
parent 84936dc85d
commit 3344f6849c
92 changed files with 162 additions and 157 deletions

View File

@@ -59,7 +59,7 @@ export function sanitizeAdminSettings(
}
}
}
} catch (_e) {
} catch {
// Ignore parsing errors
}
}

View File

@@ -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,