mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-11-17 13:12:04 +01:00
Only swallow 'Stream closed' IOExceptions
This commit is contained in:
parent
8cacf7dd57
commit
0c8f6baf98
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue