Skip to content

Commit 8ea2cc4

Browse files
committed
marvin: raise error so cli can pick it up
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent b8af427 commit 8ea2cc4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tools/marvin/marvin/cloudstackConnection.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def make_request_with_auth(self, command, requests={}):
8181
elif hasattr(e, 'code'):
8282
if self.logging is not None:
8383
self.logging.critical("server returned %d error code"%e.code)
84+
raise e
8485
except httplib.HTTPException, h:
8586
if self.logging is not None:
8687
self.logging.debug("encountered http Exception %s"%h.args)

0 commit comments

Comments
 (0)