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

Event can't signal failure #118

Open
bdueck opened this issue May 6, 2022 · 0 comments
Open

Event can't signal failure #118

bdueck opened this issue May 6, 2022 · 0 comments

Comments

@bdueck
Copy link

bdueck commented May 6, 2022

If an event lambda throws an uncaught exception, this should result in a lambda execution failure and allow normal AWS lambda error management features to track and route the error accordingly (dashboard, alerting, etc.).

Currently, HandlerAWS:handleRequest incorrectly handles exceptions raised by event lambdas. These are actually caught as an HTTP lambda failure and a 500 error is returned. This is incorrect for an event lambda.

HandlerAWS:handleRequest should log and then allow the exception to be rethrown which in turn signals AWS lambda Java wrapper that the lambda execution failed.

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

No branches or pull requests

1 participant