fix(coding-agent): display extension loading errors to user
This commit is contained in:
committed by
Mario Zechner
parent
df3f5f41c0
commit
b74a3658f3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user