Optum / dce-cli

Disposable Cloud Environment CLI
Apache License 2.0
37 stars 19 forks source link

Improve API error messages #50

Open eschwartz opened 4 years ago

eschwartz commented 4 years ago

Using dce-cli v0.2.0

API error are not super user friendly:

eg.

~/$ ./dce-cli accounts list
err:  [GET /accounts][403] getAccountsForbidden ~/$ 

Proposing to:

eschwartz commented 4 years ago

Besides human-readable error messages, it would be nice if we have an optional way to see the entire API error response, like with a verbose log level configured, or in a log file somewhere