[jOOQ/jOOQ#11101] Misleading error message when something goes wrong in the code generator

This commit is contained in:
Lukas Eder 2020-12-08 09:13:48 +01:00
parent df2f737a7f
commit c254373003

View File

@ -200,7 +200,7 @@ public class GenerationTool {
generate(configuration);
}
catch (Exception e) {
log.error("Cannot read " + file + ". Error : " + e.getMessage(), e);
log.error("Error in file: " + file + ". Error : " + e.getMessage(), e);
System.exit(-1);
return;