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

#290: Fix JSON-RPC id output in case of method type conversion errors. #291

Merged
merged 1 commit into from
May 24, 2023

Conversation

cyb3r4nt
Copy link
Contributor

Server used to output null as id value if some parameter conversion has been failed.
Request id context was lost due to exceptions and null was sent to client.

Fix contains more grained exception handling and restore of initial request context.

Added also tests, which check for expected id result in the responses.

…sion errors.

Server used to output null as id value if some parameter conversion has been failed.
Request id context was lost due to exceptions and null was sent to client.

Fix contains more grained exception handling and restore of initial request context.

Added also tests, which check for expected id result in the responses.
@briandilley briandilley merged commit 71949a2 into briandilley:master May 24, 2023
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