Only swallow 'Stream closed' IOExceptions

This commit is contained in:
Paul Schaub 2023-01-22 15:37:27 +01:00
parent 8cacf7dd57
commit 0c8f6baf98
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ public class DetachedSignExternal implements DetachedSign {
processOut.close();
} catch (IOException e) {
// Ignore Stream closed
if (!"Stream closed".equals(e.getMessage())) {
throw e;
}
}
while ((r = processIn.read(buf)) > 0) {