feat(code): additional cleanup for stdout response from WebContainer

This commit is contained in:
Waleed Latif
2025-03-01 15:30:37 -08:00
parent f48884aaf2
commit 9d55ec4e5c
3 changed files with 185 additions and 22 deletions
+6 -1
View File
@@ -482,7 +482,12 @@ export class FunctionBlockHandler implements BlockHandler {
return { response: result.output }
} catch (error: any) {
console.warn('WebContainer execution failed, falling back to VM:', error.message)
console.warn('WebContainer execution failed, falling back to VM:', error)
console.error('WebContainer error details:', {
name: error.name,
message: error.message,
stack: error.stack,
})
}
}