Skip to content

Revert behavior for non SnapShot scenario to throw an exception when initialize fails #1884

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

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

normj
Copy link
Member

@normj normj commented Nov 26, 2024

Issue #, if available:
#1881

Description of changes:
As part of the work for SnapStart we need to force an exit quickly if there was a initialization error. That ensured the Lambda service picked up the logs to put in CloudWatch logs. This triggered a refactor that changed the behavior for non SnapStart case to not get an Exception when Lambda functions started the LambdaBootstrap themselves. This PR reverts the behavior for non SnapStart case to ensure the exception is bubbled up to the caller of LambdaBootstrap.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@normj normj force-pushed the normj/runtime-errorhandling branch from adac646 to efae5c5 Compare November 26, 2024 00:03
@normj normj changed the base branch from master to dev November 26, 2024 00:04
@normj normj merged commit 22382ba into dev Nov 26, 2024
4 checks passed
@normj normj deleted the normj/runtime-errorhandling branch November 26, 2024 19:28
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

Successfully merging this pull request may close these issues.

3 participants