mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
Fail if docker build fails
This commit is contained in:
parent
67c27fd9ef
commit
67114d1a80
1 changed files with 4 additions and 0 deletions
|
@ -443,6 +443,10 @@ def build_docker():
|
|||
|
||||
except subprocess.CalledProcessError as e:
|
||||
res = f"Failed to build Docker image: {e.output}"
|
||||
raise e
|
||||
|
||||
if result.returncode != 0:
|
||||
raise Exception("Unable to build docker image")
|
||||
|
||||
return res
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue