File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/google/devtools/build/lib/query2/query/output Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public OutputFormatterCallback<Target> createPostFactoStreamCallback(
44
44
public void processOutput (Iterable <Target > partialResult )
45
45
throws IOException , InterruptedException {
46
46
try {
47
- StreamSupport .stream (partialResult .spliterator (), /* parallel= */ true )
47
+ StreamSupport .stream (partialResult .spliterator (), /* parallel= */ true )
48
48
.map (this ::toProto )
49
49
.map (StreamedProtoOutputFormatter ::writeDelimited )
50
50
.forEach (this ::writeToOutputStreamThreadSafe );
@@ -67,7 +67,7 @@ private synchronized void writeToOutputStreamThreadSafe(ByteArrayOutputStream bo
67
67
try {
68
68
bout .writeTo (out );
69
69
} catch (IOException e ) {
70
- throw new RuntimeException (e );
70
+ throw new WrappedIOException (e );
71
71
}
72
72
}
73
73
};
You can’t perform that action at this time.
0 commit comments