[#5597] Code generator IOExceptions are not logged when error appears during closing of file
This commit is contained in:
parent
49c00f4a67
commit
a9f883a749
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user