py-evm
py-evm copied to clipboard
Exceptions without error messages return no info to web3
- py-evm Version: master
What is wrong?
I tried to request data on a light client, when I wasn't connected to any peers. As expected, trinity raised a NoConnectedPeers exception, but error field in the response is empty
How can it be fixed
Include the exception type in the error field during a failed rpc request. Maybe only do this if the message is empty?