Report target file on injector generation failure
This commit is contained in:
@@ -55,9 +55,15 @@ public class GenerateInjectors {
|
||||
private GenerateInjectors() {
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
public static void main(String[] args) throws Throwable {
|
||||
for (DependencyInjectorGenerator generator : createGenerators()) {
|
||||
generator.generate();
|
||||
try {
|
||||
generator.generate();
|
||||
}
|
||||
catch (Throwable e) {
|
||||
System.err.println(generator.getOutputFile());
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user