Raise exception when encountered
This commit is contained in:
parent
cf091b64e3
commit
15544e0ba0
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ class ExecutionApi:
|
||||||
text=True)
|
text=True)
|
||||||
except CalledProcessError as exc:
|
except CalledProcessError as exc:
|
||||||
print("Command failed with code: ", exc.returncode, " and message:", exc.stderr)
|
print("Command failed with code: ", exc.returncode, " and message:", exc.stderr)
|
||||||
|
raise CalledProcessError
|
||||||
|
|
||||||
|
|
||||||
class EnvironmentApi:
|
class EnvironmentApi:
|
||||||
|
|
Loading…
Reference in a new issue