huajun07 / codesketcher

Visualise your code in action!
https://main.d1fr5et3wgts3j.amplifyapp.com/
MIT License
0 stars 0 forks source link

Executor timeout error is not correctly handled #29

Closed limanjun99 closed 1 year ago

limanjun99 commented 1 year ago

Discussed here

The executor service is currently set to timeout after 1 second. The error raised is by AWS Lambda, and incompatible with the current error format (where the error field is set to the error message string).

Fix is for the backend API to detect timeouts from the executor, and return the correct error format instead.