summaryrefslogtreecommitdiffstats
path: root/deploy/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/common.py')
-rw-r--r--deploy/common.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/common.py b/deploy/common.py
index ccd43d79a..bc2787617 100644
--- a/deploy/common.py
+++ b/deploy/common.py
@@ -49,8 +49,13 @@ def exec_cmd(cmd, check=True):
return_code = process.returncode
if check:
if return_code > 0:
+ print "Failed command: " + str(cmd)
+ print "Command returned response: " + str(response)
+ print "Command return code: " + str(return_code)
raise Exception(response)
else:
+ print "Command: " + str(cmd)
+ print str(response)
return response
return response, return_code