Log error messages sent in error responses
The server sends explanatory messages with every error it returns. It would be really helpful for debugging, if we could print this message and log it somehow. For example, the messages could be used as messages in exceptions.