Miaox: Fixed json-rpc client - added debug information to exception, reverted theratg changes