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

step functions plugin - original lambda input lost after exception #318

Open
jraj002 opened this issue Mar 3, 2020 · 2 comments
Open

step functions plugin - original lambda input lost after exception #318

jraj002 opened this issue Mar 3, 2020 · 2 comments

Comments

@jraj002
Copy link

jraj002 commented Mar 3, 2020

Hi,

I am running into an issue in my step function where I am losing the original input if an exception is thrown within any Lambda. I do have a catchall for all the lambdas and I am adding the exception to the 'error' path. However, the input to the lambda function does not carry through to the catchall lambda function.

  Catch:
              - ErrorEquals: ["States.ALL"]
                Next: NotifyError
                ResultPath: "$.error"

Additional Data

Serverless Framework Core Version you're using:
Your Environment Information ---------------------------
Operating System: darwin
Node Version: 12.1.0
Framework Version: 1.56.1
Plugin Version: 3.2.1
SDK Version: 2.1.2
Components Core Version: 1.1.2
Components CLI Version: 1.4.0

The Plugin Version you're using:

Operating System:
MacOS 10.14.6

@theburningmonk
Copy link
Collaborator

@jraj002 can you share your state machine definition? what you have should work, like this example here

@LL782
Copy link

LL782 commented Sep 9, 2020

I had an issue with the ResultPath – #369. Hard to tell if it is related without more info but it might help others.

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

No branches or pull requests

3 participants