Skip to content

Commit

Permalink
builder: pass process error code to BuildError
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Slijepcevic committed Mar 5, 2024
1 parent 9630b0f commit 27d791f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pym/bob/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,8 @@ async def _runShell(self, step, scriptName, logger, cleanWorkspace=None,
logger.setError(invoker.getStdio().strip())
raise BuildError("{} returned with {}"
.format(absRunFile, ret),
help="You may resume at this point with '--resume' after fixing the error.")
help="You may resume at this point with '--resume' after fixing the error.",
returncode=ret)

def getStatistic(self):
return self.__statistic
Expand Down

0 comments on commit 27d791f

Please sign in to comment.