Update helm repo after adding the repo
[osm/N2VC.git] / n2vc / libjuju.py
index 1fade62..bca3665 100644 (file)
@@ -1341,6 +1341,10 @@ class Libjuju:
                 controller,
                 timeout=total_timeout,
             )
+        except Exception as e:
+            if not await self.model_exists(model_name, controller=controller):
+                return
+            raise e
         finally:
             if model:
                 await self.disconnect_model(model)