projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Providing output info when exec_primitive fails
[osm/N2VC.git]
/
n2vc
/
n2vc_juju_conn.py
diff --git
a/n2vc/n2vc_juju_conn.py
b/n2vc/n2vc_juju_conn.py
index
690d3be
..
951ac6c
100644
(file)
--- a/
n2vc/n2vc_juju_conn.py
+++ b/
n2vc/n2vc_juju_conn.py
@@
-922,7
+922,7
@@
class N2VCJujuConnector(N2VCConnector):
if status == "completed":
return output
else:
if status == "completed":
return output
else:
- raise Exception("status
is not completed: {}".format(status
))
+ raise Exception("status
: {}, output: {}".format(status, output
))
except Exception as e:
self.log.error(
"Error executing primitive {}: {}".format(primitive_name, e)
except Exception as e:
self.log.error(
"Error executing primitive {}: {}".format(primitive_name, e)