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

juan.hernandez at redhat.com juan.hernandez at redhat.com
Thu Feb 6 18:24:17 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>
(cherry picked from commit 07e5011adc02bad6684b5f457f85385d4b3ecc55)
---
M src/ovirtcli/command/connect.py
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic6a3a1ec12f343038a6b0ddac2fe875b46841471
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: cli_3.4
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>



More information about the Engine-commits mailing list