[#5597] Code generator IOExceptions are not logged when error appears during closing of file

This commit is contained in:
lukaseder 2016-10-19 09:48:18 +02:00
parent 49c00f4a67
commit a9f883a749

View File

@ -285,7 +285,7 @@ public abstract class GeneratorWriter<W extends GeneratorWriter<W>> {
return true;
}
catch (IOException e) {
throw new GeneratorException("Error writing " + file.getAbsolutePath());
throw new GeneratorException("Error writing " + file.getAbsolutePath(), e);
}
}