Skip to content

Commit

Permalink
strip new lines from get_build_error_message output, so the output is
Browse files Browse the repository at this point in the history
same as before only on 1 line

* CLOUDBLD-8281

Signed-off-by: Robert Cerven <rcerven@redhat.com>
  • Loading branch information
rcerven committed Dec 15, 2021
1 parent 8c293a7 commit 8626d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion koji_containerbuild/plugins/builder_containerbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ def sigint_handler(*args, **kwargs):

if error_message:
raise ContainerError('Image build failed. %s. OSBS build id: %s' %
(error_message, build_id))
(' '.join(error_message.split('\n')), build_id))
else:
raise ContainerError('Image build failed. OSBS build id: %s' %
build_id)
Expand Down

0 comments on commit 8626d89

Please sign in to comment.