Skip to content

Commit

Permalink
Merge pull request #556 from KevinSlijepcevic/return-error-code
Browse files Browse the repository at this point in the history
builder: pass process error code to BuildError
  • Loading branch information
jkloetzke authored Mar 5, 2024
2 parents 9630b0f + 27d791f commit 5363c6c
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 5363c6c

Please sign in to comment.