asvd / jailed

execute untrusted code with custom permissions
MIT License
1.01k stars 69 forks source link

Can't catch STDERR #40

Open danieljvdm opened 8 years ago

danieljvdm commented 8 years ago

I've looked over some similar issues but they don't seem to solve the problem. If I enter illegal code (syntax error) to my code, on the server side I get ERROR: asdf is not defined. The problem is I have no idea where to catch this error. I've put try/catch blocks everywhere that I can (including in the functions provided in application.setInterface. Any ideas? Thanks