Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handler function in examples is missing callback parameter #1

Open
massi-ang opened this issue Sep 20, 2019 · 0 comments
Open

handler function in examples is missing callback parameter #1

massi-ang opened this issue Sep 20, 2019 · 0 comments

Comments

@massi-ang
Copy link

In all examples, but invokee.js in the LambdaInvoke folder, the handler function misses the callback parameter. While the example work, the lambda function crashes with SIGTERM error just after the handler is invoked.

Adding the callback and invoking it before returning according to https://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html solves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant