You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no way to handle exceptions if request does not pass "id" attribute. JSONRPCResponseManager.handle() should always return a response with an error in case of exception in user code or if it is not possible, there should be an argument to enable this (strict) behavior.
Description
There is no way to handle exceptions if request does not pass "id" attribute.
JSONRPCResponseManager.handle()
should always return a response with an error in case of exception in user code or if it is not possible, there should be an argument to enable this (strict) behavior.Steps to Reproduce
Run this code:
Expected behavior: error response should be printed
Actual behavior:
None
is printedReproduces how often: always
Versions
all
Additional Information
If you change request to
'{"jsonrpc": "2.0", "method": "test", "params": [], "id": 1}'
it expectedly returns response with an error:The text was updated successfully, but these errors were encountered: