forked from briandilley/jsonrpc4j
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
briandilley#290: Fix JSON-RPC id output in case of method type conver…
…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.
- Loading branch information
cyb3r4nt
committed
Jun 10, 2022
1 parent
3706d07
commit 1c1b899
Showing
3 changed files
with
211 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters