gaucho icon indicating copy to clipboard operation
gaucho copied to clipboard

Output better error on failure

Open etlweather opened this issue 8 years ago • 0 comments

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.

etlweather avatar Feb 01 '17 16:02 etlweather