mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 08:47:39 +00:00
Kill console on IOError
This commit is contained in:
parent
c926fe326c
commit
0fb7d50acd
@ -293,8 +293,8 @@ public final class Grasscutter {
|
||||
Grasscutter.getLogger().info("EOF detected.");
|
||||
continue;
|
||||
} catch (IOError e) {
|
||||
Grasscutter.getLogger().error("An IO error occurred.", e);
|
||||
continue;
|
||||
Grasscutter.getLogger().error("An IO error occurred while trying to read from console.", e);
|
||||
return;
|
||||
}
|
||||
|
||||
isLastInterrupted = false;
|
||||
|
Loading…
Reference in New Issue
Block a user