From 15544e0ba0ef5486a144ce6aff35a9bf6e84b9a7 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 12 Jul 2023 15:43:16 +0200 Subject: [PATCH] Raise exception when encountered --- src/main/python/ddadevops/infrastructure/infrastructure.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/python/ddadevops/infrastructure/infrastructure.py b/src/main/python/ddadevops/infrastructure/infrastructure.py index 518dcc5..ca3cdb0 100644 --- a/src/main/python/ddadevops/infrastructure/infrastructure.py +++ b/src/main/python/ddadevops/infrastructure/infrastructure.py @@ -121,6 +121,7 @@ class ExecutionApi: text=True) except CalledProcessError as exc: print("Command failed with code: ", exc.returncode, " and message:", exc.stderr) + raise CalledProcessError class EnvironmentApi: