Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

CLI client: error message output is not useful if the body of the response does not describe the error. #1049

Open
zenhack opened this issue Oct 18, 2018 · 0 comments

Comments

@zenhack
Copy link
Contributor

zenhack commented Oct 18, 2018

I ran into this while troubleshooting the ipmi timeout issue that @naved001, brought up: if the HTTP server returns a non-200 status, we raise a FailedAPICallException with the message being the body of the response. In my case, I was getting a 401 with no body, so the command line tool just reported Error:, with nothing after that...

we should make it a bit smarter about good error messages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant