fix(athena): improve error extraction in council orchestrator
Replace String(result.reason) with proper instanceof Error check to produce clean error messages instead of [object Error] or full stack traces. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
750db54468
commit
4da77be93f
@ -46,7 +46,7 @@ export async function executeCouncil(input: CouncilExecutionInput): Promise<Coun
|
|||||||
|
|
||||||
failures.push({
|
failures.push({
|
||||||
member,
|
member,
|
||||||
error: `Launch failed: ${String(result.reason)}`,
|
error: `Launch failed: ${result.reason instanceof Error ? result.reason.message : String(result.reason)}`,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user