Bug 2055 fixed: raising JujuControllerFailedConnecting with error message
[osm/N2VC.git] / n2vc / libjuju.py
index a5b4d7e..7b01d5d 100644 (file)
@@ -121,7 +121,10 @@ class Libjuju:
             )
             if controller:
                 await self.disconnect_controller(controller)
-            raise JujuControllerFailedConnecting(e)
+
+            raise JujuControllerFailedConnecting(
+                f"Error connecting to Juju controller: {e}"
+            )
 
     async def disconnect(self):
         """Disconnect"""