Change in vdsm[master]: image.py: reference exception as e when required
amureini at redhat.com
amureini at redhat.com
Thu Mar 12 13:53:25 UTC 2015
Allon Mureinik has uploaded a new change for review.
Change subject: image.py: reference exception as e when required
......................................................................
image.py: reference exception as e when required
Change-Id: Ic9bd5ef1b4656bf6fb15e9c897356e94a2a795b5
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M vdsm/storage/image.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/69/38669/1
diff --git a/vdsm/storage/image.py b/vdsm/storage/image.py
index 53e3386..791b48c 100644
--- a/vdsm/storage/image.py
+++ b/vdsm/storage/image.py
@@ -836,7 +836,7 @@
volume.fmt2str(dstVolFormat))
except ActionStopped:
raise
- except qemuimg.QImgError:
+ except qemuimg.QImgError as e:
self.log.exception('conversion failure for volume %s',
srcVol.volUUID)
raise se.CopyImageError(str(e))
--
To view, visit https://gerrit.ovirt.org/38669
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic9bd5ef1b4656bf6fb15e9c897356e94a2a795b5
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
More information about the vdsm-patches
mailing list