gaucho
gaucho copied to clipboard
Output better error on failure
When Rancher returns an error code, it also returns a JSON message. Right now, we only throw an Exception and no message. We could catch those error statuses and show the JSON error message received from Rancher. That would greatly help in debugging.
See #10 for example.