Skip to content

fix(amazonq): wrap sspc lsp handlers in try/catch so failures do not take down server #1464

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
May 28, 2025

Conversation

rli
Copy link
Contributor

@rli rli commented May 28, 2025

Problem

for example, if file is renamed from supported language to unsupported language, or upload itself fails, the server crashes.

Solution

wrap everything in try/catch

License

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

…take down server

for example, if file is renamed from supported language to unsupported language,
or upload itself fails, the server crashes.
@rli rli requested a review from a team as a code owner May 28, 2025 22:47
@leigaol leigaol merged commit 6a731cb into aws:main May 28, 2025
6 checks passed
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.

2 participants