fake-api-gateway-lambda
fake-api-gateway-lambda copied to clipboard
does not correctly replicate syntax error behavior
if you deploy code to lambda that has a syntax error, iirc it becomes a runtime Internal Server Error to the client request. but deploying a lambda with this code will cause the worker process to crash.
curiously, it crashes on the first request.
reading the code, I see that each worker loads all lambdas. That means that one broken lambda breaks everything.
Right, I dont handle uncaughtExceptions in the worker process.