rest-client
rest-client copied to clipboard
Fix ConnectionError, as it does not contain the 'message' attribute
The ConnectionError object from request.exceptions.RequestException does not contain the 'message' attribute. This causes and exception when trying to handle these exceptions. Fixed by using 'args' to get the inner exception.