snehalmistry/spring-migration-analyzer — comment on commit d510123f2ee9617455c3a7724b2430378c39c33f
File: xml-render/src/main/java/org/springframework/migrationanalyzer/render/support/xml/XMLRenderEngine.java line 105
By wilkinsona:

Rather than calling printStackTrace, the exception should be logged at an appropriate level. For example:
```
this.logger.warn("Failed to write to '{}'", file, e);
```

Also, the two catch blocks could probably be collaped into one as FileNotFoundException is a subclass of IOException and you want to handle them the same way.