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

when exception is thrown during init of spring boot app, AWS lambda fails on timeout , instead of immediately by error #1206

Open
ShaharGlatman opened this issue Nov 21, 2024 · 0 comments

Comments

@ShaharGlatman
Copy link

hi, using AWS lambda with spring boot app. in this app exceptions can be thrown during initialization stage (specifically, in @PostConstruct method). i saw that once exception is thrown during this stage, lambda fails on timeout after 15 min, instead of immediately by error.
(i had the same issue for exception in the handle function, and this was fixed by upgrading the spring-cloud-function from 3.2.3 to 3.2.4. unfortunately, this doesn't help with exception during initialization). how should i address this issue?

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