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

Fix crash in ulsp, additional logging and cleanup #479

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

Jafaral
Copy link
Member

@Jafaral Jafaral commented Sep 18, 2024

No description provided.

Signed-off-by: Jafar Al-Gharaibeh <[email protected]>
Signed-off-by: Jafar Al-Gharaibeh <[email protected]>
@Jafaral Jafaral requested a review from Don-Ward September 18, 2024 05:38
Comment on lines +392 to 393
/results := "{}"
responseBody := "{\"jsonrpc\":\"2.0\",\"id\":"||id||",\"result\":"||results||"}"
Copy link
Member Author

@Jafaral Jafaral Sep 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming results is always set as a string was the cause of multiple crashes. If results is &null, just set to an empty object.

@Don-Ward Don-Ward merged commit 776266e into uniconproject:master Sep 18, 2024
20 checks passed
ValG4 pushed a commit to ValG4/unicon that referenced this pull request Dec 7, 2024
Fix crash in ulsp, additional logging and cleanup
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