Shu Ming has uploaded a new change for review.
Change subject: Source image exception when querying source image
......................................................................
Source image exception when querying source image
se.StorageException exception should also be converted
to se.SourceImageActionError exception
Change-Id: I6abb905f1042477aa6757d6e10d6989923e955b4
Signed-off-by: Shu Ming <shuming(a)linux.vnet.ibm.com>
---
M vdsm/storage/image.py
1 file changed, 0 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/79/8479/1
diff --git a/vdsm/storage/image.py b/vdsm/storage/image.py
index 9a22863..f9cb3a0 100644
--- a/vdsm/storage/image.py
+++ b/vdsm/storage/image.py
@@ -457,9 +457,6 @@
try:
# Find all volumes of source image
srcChain = self.getChain(srcSdUUID, imgUUID)
- except se.StorageException:
- self.log.error("Unexpected error", exc_info=True)
- raise
except Exception, e:
self.log.error("Unexpected error", exc_info=True)
raise se.SourceImageActionError(imgUUID, srcSdUUID, str(e))
--
To view, visit
http://gerrit.ovirt.org/8479
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6abb905f1042477aa6757d6e10d6989923e955b4
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Shu Ming <shuming(a)linux.vnet.ibm.com>