fix(coding-agent): display extension loading errors to user

This commit is contained in:
Aliou Diallo 2026-01-11 22:48:20 +01:00 committed by Mario Zechner
parent df3f5f41c0
commit b74a3658f3
2 changed files with 6 additions and 0 deletions

View file

@ -238,6 +238,11 @@ export async function main(args: string[]) {
time("discoverExtensionFlags");
}
// Log extension loading errors
for (const { path, error } of extensionsResult.errors) {
console.error(chalk.red(`Failed to load extension "${path}": ${error}`));
}
// Collect all extension flags
const extensionFlags = new Map<string, { type: "boolean" | "string" }>();
for (const ext of extensionsResult.extensions) {