Change in ovirt-iso-uploader[master]: error handling: handle invalid host

sbonazzo at redhat.com sbonazzo at redhat.com
Tue Aug 12 13:34:49 UTC 2014


Sandro Bonazzola has submitted this change and it was merged.

Change subject: error handling: handle invalid host
......................................................................


error handling: handle invalid host

previously if an invalid host was specified an error like

ERROR: 'NoneType' object is not iterable

was printed.
Now a more explanatory error is showed:

ERROR: Unable to connect to REST API.  Message: The host name
"localhost" contained in the URL doesn't match any of the names in the
server certificate.
ERROR: Unable to get ISO domain data

Change-Id: I86ff1d2bcff923c76176554ae73beb47caa3d633
Bug-Url: https://bugzilla.redhat.com/1110756
Signed-off-by: Sandro Bonazzola <sbonazzo at redhat.com>
---
M src/__main__.py
1 file changed, 7 insertions(+), 3 deletions(-)

Approvals:
  Sandro Bonazzola: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I86ff1d2bcff923c76176554ae73beb47caa3d633
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-iso-uploader
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Lev Veyde <lveyde at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list