title: Send Input as Output on error for AWS Step Function
body: <p>I'd like my state machine to continue execution even in the event of some state error early on. Most of my lambda functions output the same thing they take as input, so I'd like to be able to just pass on the input that the lambda that encountered the error as output to the next state. I tried</p>
  
  <pre><code>{
      "DeleteStuff": {
        "Type": "Task",
        "Resource": "MY_ARN",
        "Catch": [ {
          "ErrorEquals": ["States.ALL"],
          "ResultPath": "$InputPath",
          "Next": "FailedState"
        }],
        "Next": "checkStuff"
      }, ...
  </code></pre>
  
  <p>without any luck. Has anyone done this, or can anyone offer some assistance?</p>
  
  <p>Thanks!</p>