projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for deploying bundles
[osm/N2VC.git]
/
juju
/
client
/
connection.py
diff --git
a/juju/client/connection.py
b/juju/client/connection.py
index
3b5bfc4
..
cdd93d9
100644
(file)
--- a/
juju/client/connection.py
+++ b/
juju/client/connection.py
@@
-11,6
+11,8
@@
import websockets
import yaml
import yaml
+from juju.errors import JujuAPIError
+
log = logging.getLogger("websocket")
log = logging.getLogger("websocket")
@@
-81,7
+83,7
@@
class Connection:
#log.debug("Send: %s", outgoing)
#log.debug("Recv: %s", result)
if result and 'error' in result:
#log.debug("Send: %s", outgoing)
#log.debug("Recv: %s", result)
if result and 'error' in result:
- raise
Runtime
Error(result)
+ raise
JujuAPI
Error(result)
return result
async def clone(self):
return result
async def clone(self):