aws / aws-lambda-runtime-interface-emulator

Apache License 2.0
939 stars 99 forks source link

Runtime init reload after panic #9

Open calavera opened 3 years ago

calavera commented 3 years ago

Some runtimes crash with panics because they assume the environment will self recover, because that's Lambda's behavior when you deploy a function. It'd be very useful if the emulator would initialize the runtime again if the runtime crashed with a panic.

Otherwise, people have to restart the emulator, and it's not very obvious that you have to do that by looking at the logs either.