Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

fix ErrorHandling #5

Merged
merged 1 commit into from
Jun 29, 2020
Merged

fix ErrorHandling #5

merged 1 commit into from
Jun 29, 2020

Conversation

mashiike
Copy link

background

There is a case where the execution of Lambda function fails and the Task of Step Functions becomes Success.
When I contacted AWS Support, it seems that it is because the error handling method described in the document is different.

Content

ref https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html#runtimes-api-invokeerror
Corrected error handling to match the above documentation.
Specifically added missing headers.

Copy link

@fujiwara fujiwara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mashiike mashiike merged commit 518b9c0 into master Jun 29, 2020
@mashiike mashiike deleted the feature/fix-error-report branch June 29, 2020 06:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants