Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions aws_lambda_builders/workflows/custom_make/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ def run(self, args, env=None, cwd=None):

out, err = p.communicate()

# Typically this type of information is logged to DEBUG, however, since the Make builder
# can be different per customer's use case, it is helpful to always log the output so
# developers can diagnose any issues.
LOG.info(out.decode("utf8").strip())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also think about printing err output as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it sufficient that the err is raised by the MakeExecutionError if the return code is not 0 in lines 89-90?


if p.returncode != 0:
raise MakeExecutionError(message=err.decode("utf8").strip())

Expand Down