Log RPC error responses in morley-client
Clarification and motivation
In cases where RPC responds with an error, we only throw the corresponding human-readable error, but don't log the response itself, although in some cases it would be useful for us to know what response is. They should be logged at the maximum verbosity level like the other json requests and responses info from RPC.
Acceptance criteria
When -VVV
option is enabled, for each error type of error from RPC, the corresponding response is logged.
Edited by Dmitriy Mozhevitin