Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
befae2d821
Commit
56cd61623d
@ -211,6 +211,8 @@ public abstract class Node {
|
|||||||
if(!process.waitFor(1, TimeUnit.SECONDS))
|
if(!process.waitFor(1, TimeUnit.SECONDS))
|
||||||
throw new IOException(hostname + " timeout");
|
throw new IOException(hostname + " timeout");
|
||||||
try (BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()))) {
|
try (BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()))) {
|
||||||
|
if(reader == null)
|
||||||
|
throw new IOException("Why reader null? " + process.getInputStream());
|
||||||
calcLoadLimit(reader, reader);
|
calcLoadLimit(reader, reader);
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren