Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
excitoon committed Apr 23, 2019
1 parent 3071449 commit 6aab0c2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ public void onFailure(Throwable t) {
FileSystemUtils.deleteTreesBelow(execRoot.getRelative(directory.getPath()));
}
if (outErr != null) {
outErr.getOutputStream().close();
outErr.getOutputPath().delete();
outErr.getErrorStream().close();
outErr.getErrorPath().delete();
}
} catch (IOException e) {
Expand All @@ -254,7 +256,6 @@ public void onFailure(Throwable t) {

// We don't propagate the downloadException, as this is a recoverable error and the cause
// of the build failure is really that we couldn't delete output files.
System.out.print(e);
throw new EnvironmentalExecException(
"Failed to delete output files after incomplete "
+ "download. Cannot continue with local execution.",
Expand Down

0 comments on commit 6aab0c2

Please sign in to comment.