Change in ovirt-engine-cli[master]: cli: Show HTTP error page only in debug mode

juan.hernandez at redhat.com juan.hernandez at redhat.com
Thu Feb 6 18:22:19 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: cli: Show HTTP error page only in debug mode
......................................................................


cli: Show HTTP error page only in debug mode

Currently when we try to connect to the engine and the connection fails
with an HTTP error code we print the error document to the output. This
is usually an HTML document, and not friendly for the user. This patch
changes the CLI so that it will only print the error document when the
-d option has been specified.

Change-Id: Ic6a3a1ec12f343038a6b0ddac2fe875b46841471
Bug-Url: https://bugzilla.redhat.com/869283
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M src/ovirtcli/command/connect.py
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Michael Pasternak: Looks good to me, approved
  Ravi Nori: Looks good to me, but someone else must approve
  Juan Hernandez: Verified



-- 
To view, visit http://gerrit.ovirt.org/24082
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic6a3a1ec12f343038a6b0ddac2fe875b46841471
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mishka8520 at yahoo.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>



More information about the Engine-commits mailing list