Skip to content

Commit 06f2f39

Browse files
committed
ignore streaming i/o errors
1 parent 3580533 commit 06f2f39

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

maven-nodejs-proxy/src/main/java/io/wcm/devops/maven/nodejsproxy/resource/SpoolStreamingOutput.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ public void write(OutputStream os) throws IOException, WebApplicationException {
4646
try (InputStream is = httpEntity.getContent()) {
4747
IOUtils.copyLarge(is, os);
4848
}
49+
catch (IOException ex) {
50+
// ignore
51+
}
4952
finally {
5053
EntityUtils.consumeQuietly(httpEntity);
5154
}

0 commit comments

Comments
 (0)