fake-api-gateway-lambda icon indicating copy to clipboard operation
fake-api-gateway-lambda copied to clipboard

does not correctly replicate syntax error behavior

Open dominictarr opened this issue 4 years ago • 1 comments

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.

dominictarr avatar Aug 29 '21 22:08 dominictarr

Right, I dont handle uncaughtExceptions in the worker process.

Raynos avatar Aug 30 '21 06:08 Raynos