Skip to content

Commit

Permalink
adding traceback for the error
Browse files Browse the repository at this point in the history
  • Loading branch information
BabaYaga1221 committed May 5, 2023
1 parent ab116b4 commit 8cfe4a1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/rocker/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,6 @@ def docker_build(docker_client = None, output_callback = None, **kwargs):
if output_callback is not None:
output_callback(output)
build_output.append(output)

if "error" in output.lower():
raise Exception("Build failed")

match = re.match(r'Successfully built ([a-z0-9]{12})', output)
if match:
Expand Down

0 comments on commit 8cfe4a1

Please sign in to comment.