mirror of https://github.com/apache/cloudstack.git
marvin: raise error so cli can pick it up
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
b8af4278d0
commit
8ea2cc4e57
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue