mirror of
https://github.com/Minestom/Minestom.git
synced 2024-10-02 16:38:16 +02:00
Added indication on IOException with the resource gatherer
This commit is contained in:
parent
5e85c0117a
commit
8dfc52dd15
@ -107,7 +107,7 @@ public class ResourceGatherer {
|
|||||||
try {
|
try {
|
||||||
int resultCode = dataGeneratorProcess.waitFor();
|
int resultCode = dataGeneratorProcess.waitFor();
|
||||||
if (resultCode != 0) {
|
if (resultCode != 0) {
|
||||||
throw new IOException("Data generator finished with non-zero return code " + resultCode);
|
throw new IOException("Data generator finished with non-zero return code " + resultCode + " verify that you have 'java' cli");
|
||||||
}
|
}
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
throw new IOException("Data generator was interrupted.", e);
|
throw new IOException("Data generator was interrupted.", e);
|
||||||
|
Loading…
Reference in New Issue
Block a user