From: Pedro Escaleira Date: Mon, 30 May 2022 18:08:41 +0000 (+0100) Subject: Bug 2053 fixed: raising JujuControllerFailedConnecting with error message X-Git-Tag: v12.0.0rc1~13 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=5832638ae4b3f768c6b5442a3ecbdd0ac3d5c822;p=osm%2FN2VC.git Bug 2053 fixed: raising JujuControllerFailedConnecting with error message Change-Id: Ie4f3fa92ffd7e7263733d2364ed794a2262f00a4 Signed-off-by: Pedro Escaleira --- diff --git a/n2vc/libjuju.py b/n2vc/libjuju.py index 14e8467..9d9d08e 100644 --- a/n2vc/libjuju.py +++ b/n2vc/libjuju.py @@ -122,7 +122,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"""