Change in ovirt-engine-sdk[master]: sdk: fix error handling regression

mpastern at redhat.com mpastern at redhat.com
Sun Jun 3 14:13:51 UTC 2012


Michael Pasternak has submitted this change and it was merged.

Change subject: sdk: fix error handling regression
......................................................................


sdk: fix error handling regression

when response.read() called - it removes body from
server response, so later when RequestError raised it no
longer have view on actual error cause.

Change-Id: I6d6122a870b00ca1b6078e950641c4747b6951d5
Signed-off-by: Michael Pasternak <mpastern at redhat.com>
---
M src/ovirtsdk/infrastructure/proxy.py
1 file changed, 4 insertions(+), 3 deletions(-)

Approvals:
  Michael Pasternak: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6d6122a870b00ca1b6078e950641c4747b6951d5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>



More information about the Engine-commits mailing list