tonisuter / aws-lambda-swift

A custom AWS Lambda Runtime for Swift
138 stars 13 forks source link

Handle errors #3

Open tonisuter opened 5 years ago

tonisuter commented 5 years ago

From https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html:

Handle errors – If an error occurs, call the invocation error API.

NSCoder commented 5 years ago

Hey @tonisuter!

Thank you for building this, is amazing! I wanted to help with this issue but it seems that you already got it done:

https://github.com/tonisuter/aws-lambda-swift/blob/21149409a090c49cfedf3196df4287a6b7af9e45/Sources/AWSLambdaSwift/Runtime.swift#L65

Is that correct? Otherwise please point me in the right direction and I will submit a PR