mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-12-22 12:57:57 +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();
|
processOut.close();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
// Ignore Stream closed
|
// Ignore Stream closed
|
||||||
|
if (!"Stream closed".equals(e.getMessage())) {
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
while ((r = processIn.read(buf)) > 0) {
|
while ((r = processIn.read(buf)) > 0) {
|
||||||
|
|
Loading…
Reference in a new issue