Make error messages more clear

This commit is contained in:
modmuss50 2020-02-05 20:37:05 +00:00
parent 6049ca48f4
commit a88087021b

View file

@ -110,7 +110,7 @@ public class LoomDependencyManager {
try {
provider.provide(info, project, extension, afterTasks::add);
} catch (Exception e) {
throw new RuntimeException("Failed to provide " + dependency.getGroup() + ":" + dependency.getName() + ":" + dependency.getVersion(), e);
throw new RuntimeException("Failed to provide " + dependency.getGroup() + ":" + dependency.getName() + ":" + dependency.getVersion() + " : " + e.getMessage(), e);
}
}
});