Skip to content

Commit

Permalink
Only swallow 'Stream closed' IOExceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
vanitasvitae committed Jan 22, 2023
1 parent 8cacf7d commit 0c8f6ba
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public SigningResult writeTo(OutputStream outputStream) throws IOException {
processOut.close();
} catch (IOException e) {
// Ignore Stream closed
if (!"Stream closed".equals(e.getMessage())) {
throw e;
}
}

while ((r = processIn.read(buf)) > 0) {
Expand Down

0 comments on commit 0c8f6ba

Please sign in to comment.