-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When setting 'failureMode' to 'exception' the Lambda function returns successfully, an exception occurs but the Lambda function succeeds.
START RequestId: 303ca17f-a63c-44ce-a38e-9236e3db57c2 Version: $LATEST
2020-02-07T14:18:14.839Z 303ca17f-a63c-44ce-a38e-9236e3db57c2 INFO Injecting exception message: Exception message!
2020-02-07T14:18:14.852Z 303ca17f-a63c-44ce-a38e-9236e3db57c2 INFO Error: Exception message!
at Runtime.handler (/var/task/node_modules/failure-lambda/lib/failure.js:31:17)
at processTicksAndRejections (internal/process/task_queues.js:93:5)END RequestId: 303ca17f-a63c-44ce-a38e-9236e3db57c2
REPORT RequestId: 303ca17f-a63c-44ce-a38e-9236e3db57c2 Duration: 142.89 ms Billed Duration: 200 ms Memory Size: 128 MB Max Memory Used: 96 MB
I would have expected a thrown exception to cause the Lambda function to fail.
gunnargrosch
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request