SteamWar/BungeeCore
Archiviert
13
2

Fix Node NumberFormatException #251

Zusammengeführt
Lixfel hat 1 Commits von Node nach master 2021-09-27 16:52:44 +02:00 zusammengeführt

Datei anzeigen

@ -191,7 +191,7 @@ public abstract class Node {
int c;
try (BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(process.getInputStream()))) {
c = Integer.parseInt(bufferedReader.readLine());
} catch (IOException e) {
} catch (IOException | NumberFormatException e) {
BungeeCore.get().getLogger().log(Level.SEVERE, "Could not read cores of" + remote, e);
c = 1;
}