Fix misleading error message when decompiling fails.
parent
5c190cc3ef
commit
177264420e
|
@ -208,7 +208,7 @@ public abstract class GenerateSourcesTask extends AbstractLoomTask {
|
||||||
try (IPCClient ipcClient = new IPCClient(ipcPath)) {
|
try (IPCClient ipcClient = new IPCClient(ipcPath)) {
|
||||||
doDecompile(new ThreadedSimpleProgressLogger(ipcClient));
|
doDecompile(new ThreadedSimpleProgressLogger(ipcClient));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException("Failed to setup IPC Client", e);
|
throw new RuntimeException("Failed to decompile", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue