diff options
author | Googler <noreply@google.com> | 2016-01-22 21:04:55 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2016-01-25 16:50:43 +0000 |
commit | a71580279615670b1830608ce825b69747d5b15a (patch) | |
tree | 2bccc421e6957a70e72c09891e029a28cc26e267 /src/main/java/com/google/devtools/build/lib/actions/AlreadyReportedActionExecutionException.java | |
parent | 9a46e2fc44590b44a244e683e6b3c3814191342d (diff) |
Allow an exit code to be specified in the ActionExecutionException when an action fails, and propagate the exit code to BuildFailedException.
And update all call sites that copy or wrap ActionExecutionExceptions.
--
MOS_MIGRATED_REVID=112811857
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/actions/AlreadyReportedActionExecutionException.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/actions/AlreadyReportedActionExecutionException.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/AlreadyReportedActionExecutionException.java b/src/main/java/com/google/devtools/build/lib/actions/AlreadyReportedActionExecutionException.java index ebdda29bc3..3efc919c3e 100644 --- a/src/main/java/com/google/devtools/build/lib/actions/AlreadyReportedActionExecutionException.java +++ b/src/main/java/com/google/devtools/build/lib/actions/AlreadyReportedActionExecutionException.java @@ -30,7 +30,7 @@ public class AlreadyReportedActionExecutionException extends ActionExecutionExce public AlreadyReportedActionExecutionException(ActionExecutionException cause) { super(cause.getMessage(), cause.getCause(), cause.getAction(), cause.getRootCauses(), - cause.isCatastrophe()); + cause.isCatastrophe(), cause.getExitCode()); } @Override |