Skip to content

Commit 8e6f8a5

Browse files
authored
Merge pull request #174 from sanoojm/master
Outdated syntax in Catch session of the document.
2 parents b3df3f6 + 51aa047 commit 8e6f8a5

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -929,14 +929,11 @@ stepFunctions:
929929
Type: Task
930930
Resource: arn:aws:lambda:#{AWS::Region}:#{AWS::AccountId}:function:${self:service}-${opt:stage}-hello
931931
Catch:
932-
- ErrorEquals:
933-
- HandledError
932+
- ErrorEquals: ["HandledError"]
934933
Next: CustomErrorFallback
935-
- ErrorEquals:
936-
- States.TaskFailed
934+
- ErrorEquals: ["States.TaskFailed"]
937935
Next: ReservedTypeFallback
938-
- ErrorEquals:
939-
- States.ALL
936+
- ErrorEquals: ["States.ALL"]
940937
Next: CatchAllFallback
941938
End: true
942939
CustomErrorFallback:

0 commit comments

Comments
 (0)