Skip to content

handler function in examples is missing callback parameter #1

@massi-ang

Description

@massi-ang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions