Fix misleading error message when decompiling fails.

This commit is contained in:
modmuss50 2021-10-28 18:15:59 +01:00
parent 5c190cc3ef
commit 177264420e

View file

@ -208,7 +208,7 @@ public abstract class GenerateSourcesTask extends AbstractLoomTask {
try (IPCClient ipcClient = new IPCClient(ipcPath)) {
doDecompile(new ThreadedSimpleProgressLogger(ipcClient));
} catch (Exception e) {
throw new RuntimeException("Failed to setup IPC Client", e);
throw new RuntimeException("Failed to decompile", e);
}
}