swift-server / swift-aws-lambda-runtime

Swift implementation of AWS Lambda Runtime
Apache License 2.0
1.13k stars 102 forks source link

give better error when lambda fails to start #155

Closed tomerd closed 4 years ago

tomerd commented 4 years ago

motivation: in error cases where lamnda fails to start the process fails silently and exists with code 0

changes: change the blocking API to check on the result and fatalError if lambda cannot be started / run

tomerd commented 4 years ago

I am not 100% about this fix but probably better than what we have now. @fabianfett wdyt?

tomerd commented 4 years ago

fixes #148