- Throw error instead of returning output when result.success is false - Ensures tool call is marked as failed when code execution fails or is aborted - Matches browser-javascript error handling pattern
- Throw error instead of returning output when result.success is false - Ensures tool call is marked as failed when code execution fails or is aborted - Matches browser-javascript error handling pattern