211212213214215216217218219220221
List<Throwable> errors = metadata.getErrors(); item.getMetadata().putAll(metadata); if (!errors.isEmpty()) { LOGGER.info("Can't read image metadata!", new AggregateException(errors)); } } finally { IoUtils.closeQuietly(fileInput); }