marvin: raise error so cli can pick it up

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
Rohit Yadav 2012-11-16 22:10:05 +05:30
parent b8af4278d0
commit 8ea2cc4e57
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ class cloudConnection(object):
elif hasattr(e, 'code'):
if self.logging is not None:
self.logging.critical("server returned %d error code"%e.code)
raise e
except httplib.HTTPException, h:
if self.logging is not None:
self.logging.debug("encountered http Exception %s"%h.args)