aws-lambda-swift
aws-lambda-swift copied to clipboard
Handle errors
From https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html:
Handle errors – If an error occurs, call the invocation error API.
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