mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 20:01:24 +00:00
fix(coding-agent): display extension loading errors to user
This commit is contained in:
parent
df3f5f41c0
commit
b74a3658f3
2 changed files with 6 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue